POST api/FrequencyReport/Add?isFromRollups={isFromRollups}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
isFromRollups | boolean |
Default value is False |
Body Parameters
FrequencyReportModelName | Description | Type | Additional information |
---|---|---|---|
OperationalData | Collection of integer |
None. |
|
Questions | Collection of QuestionModel |
None. |
|
Groups | Collection of string |
None. |
|
Variables | Collection of integer |
None. |
|
LayoutMode | boolean |
None. |
|
ID | integer |
None. |
|
Name | string |
Required |
|
Survey_ID | integer |
Required |
|
Project_ID | integer |
Required |
|
Favorite | boolean |
None. |
|
InsertedDate | date |
None. |
|
Employee_ID | integer |
None. |
|
Contact_ID | integer |
None. |
|
LoginType | string |
None. |
|
Rights | ReportRightType |
None. |
|
Merged_Survey_ID | integer |
None. |
|
SurveyVersion | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "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-04-04T04:55:16.3610514+02:00", "Employee_ID": 1, "Contact_ID": 1, "LoginType": "sample string 8", "Rights": "Private", "Merged_Survey_ID": 1, "SurveyVersion": 9 }
text/plain
Sample:
{"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-04-04T04:55:16.3610514+02:00","Employee_ID":1,"Contact_ID":1,"LoginType":"sample string 8","Rights":"Private","Merged_Survey_ID":1,"SurveyVersion":9}
application/xml, text/xml
Sample:
<FrequencyReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="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-04-04T04:55:16.3610514+02: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> <Groups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Groups> <LayoutMode>true</LayoutMode> <OperationalData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </OperationalData> <Questions> <QuestionModel> <AnswerID>1</AnswerID> <AnswerType>Normal</AnswerType> <QuestionID>1</QuestionID> </QuestionModel> <QuestionModel> <AnswerID>1</AnswerID> <AnswerType>Normal</AnswerType> <QuestionID>1</QuestionID> </QuestionModel> </Questions> <Variables xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </Variables> </FrequencyReportModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/plain
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>