POST api/FrequencyReport/ExtraQuestions
Request Information
URI Parameters
None.
Body Parameters
DataForExtraQuestions| Name | Description | Type | Additional information |
|---|---|---|---|
| FrequencyReportModel | FrequencyReportModel |
None. |
|
| GridsterSettings | Collection of GridsterWithGUID |
None. |
Request Formats
application/json, text/json
Sample:
{
"FrequencyReportModel": {
"OperationalData": [
1,
2
],
"Questions": [
{
"QuestionID": 1,
"AnswerType": 0,
"AnswerID": 1
},
{
"QuestionID": 1,
"AnswerType": 0,
"AnswerID": 1
}
],
"Groups": [
"sample string 1",
"sample string 2"
],
"Variables": [
1,
2
],
"LayoutMode": true,
"ID": 2,
"Name": "sample string 3",
"Survey_ID": 4,
"Project_ID": 5,
"Favorite": true,
"InsertedDate": "2025-11-18T02:13:15.1060161+01:00",
"Employee_ID": 1,
"Contact_ID": 1,
"LoginType": "sample string 8",
"Rights": "Private",
"Merged_Survey_ID": 1,
"SurveyVersion": 9
},
"GridsterSettings": [
{
"GUID": "sample string 1",
"Gridster": {
"Row": 1,
"Column": 2,
"SizeX": 3,
"SizeY": 4
}
},
{
"GUID": "sample string 1",
"Gridster": {
"Row": 1,
"Column": 2,
"SizeX": 3,
"SizeY": 4
}
}
]
}
text/plain
Sample:
{"FrequencyReportModel":{"OperationalData":[1,2],"Questions":[{"QuestionID":1,"AnswerType":0,"AnswerID":1},{"QuestionID":1,"AnswerType":0,"AnswerID":1}],"Groups":["sample string 1","sample string 2"],"Variables":[1,2],"LayoutMode":true,"ID":2,"Name":"sample string 3","Survey_ID":4,"Project_ID":5,"Favorite":true,"InsertedDate":"2025-11-18T02:13:15.1060161+01:00","Employee_ID":1,"Contact_ID":1,"LoginType":"sample string 8","Rights":"Private","Merged_Survey_ID":1,"SurveyVersion":9},"GridsterSettings":[{"GUID":"sample string 1","Gridster":{"Row":1,"Column":2,"SizeX":3,"SizeY":4}},{"GUID":"sample string 1","Gridster":{"Row":1,"Column":2,"SizeX":3,"SizeY":4}}]}
application/xml, text/xml
Sample:
<DataForExtraQuestions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rtr.Api.Controllers">
<FrequencyReportModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model.Frequency">
<Contact_ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">1</Contact_ID>
<Employee_ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">1</Employee_ID>
<Favorite xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">true</Favorite>
<ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">2</ID>
<InsertedDate xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">2025-11-18T02:13:15.1060161+01:00</InsertedDate>
<LoginType xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">sample string 8</LoginType>
<Merged_Survey_ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">1</Merged_Survey_ID>
<Name xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">sample string 3</Name>
<Project_ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">5</Project_ID>
<Rights xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">Private</Rights>
<SurveyVersion xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">9</SurveyVersion>
<Survey_ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">4</Survey_ID>
<d2p1:Groups xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</d2p1:Groups>
<d2p1:LayoutMode>true</d2p1:LayoutMode>
<d2p1:OperationalData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</d2p1:OperationalData>
<d2p1:Questions>
<d2p1:QuestionModel>
<d2p1:AnswerID>1</d2p1:AnswerID>
<d2p1:AnswerType>Normal</d2p1:AnswerType>
<d2p1:QuestionID>1</d2p1:QuestionID>
</d2p1:QuestionModel>
<d2p1:QuestionModel>
<d2p1:AnswerID>1</d2p1:AnswerID>
<d2p1:AnswerType>Normal</d2p1:AnswerType>
<d2p1:QuestionID>1</d2p1:QuestionID>
</d2p1:QuestionModel>
</d2p1:Questions>
<d2p1:Variables xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</d2p1:Variables>
</FrequencyReportModel>
<GridsterSettings>
<GridsterWithGUID>
<GUID>sample string 1</GUID>
<Gridster xmlns:d4p1="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model.Frequency">
<d4p1:Column>2</d4p1:Column>
<d4p1:Row>1</d4p1:Row>
<d4p1:SizeX>3</d4p1:SizeX>
<d4p1:SizeY>4</d4p1:SizeY>
</Gridster>
</GridsterWithGUID>
<GridsterWithGUID>
<GUID>sample string 1</GUID>
<Gridster xmlns:d4p1="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model.Frequency">
<d4p1:Column>2</d4p1:Column>
<d4p1:Row>1</d4p1:Row>
<d4p1:SizeX>3</d4p1:SizeX>
<d4p1:SizeY>4</d4p1:SizeY>
</Gridster>
</GridsterWithGUID>
</GridsterSettings>
</DataForExtraQuestions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of BaseItem| Name | Description | Type | Additional information |
|---|---|---|---|
| GUID | string |
None. |
|
| Title | string |
None. |
|
| Order | integer |
None. |
|
| SubTitle | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"GUID": "sample string 1",
"Title": "sample string 2",
"Order": 3,
"SubTitle": "sample string 4"
},
{
"GUID": "sample string 1",
"Title": "sample string 2",
"Order": 3,
"SubTitle": "sample string 4"
}
]
text/plain
Sample:
[{"GUID":"sample string 1","Title":"sample string 2","Order":3,"SubTitle":"sample string 4"},{"GUID":"sample string 1","Title":"sample string 2","Order":3,"SubTitle":"sample string 4"}]
application/xml, text/xml
Sample:
<ArrayOfBaseItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">
<BaseItem>
<GUID>sample string 1</GUID>
<Order>3</Order>
<SubTitle>sample string 4</SubTitle>
<Title>sample string 2</Title>
</BaseItem>
<BaseItem>
<GUID>sample string 1</GUID>
<Order>3</Order>
<SubTitle>sample string 4</SubTitle>
<Title>sample string 2</Title>
</BaseItem>
</ArrayOfBaseItem>