GET api/Report/EditSelection?reportId={reportId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
reportId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CombinedReportModelName | Description | Type | Additional information |
---|---|---|---|
FrequencyModel | FrequencyReportModel |
None. |
|
CrosstabModel | CrosstabReportModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "FrequencyModel": { "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:48:54.4132573+02:00", "Employee_ID": 1, "Contact_ID": 1, "LoginType": "sample string 8", "Rights": "Private", "Merged_Survey_ID": 1, "SurveyVersion": 9 }, "CrosstabModel": { "Items": [ { "RowQuestionModel": { "ID": 1, "Type": "OperationalData", "ItemID": 2 }, "LayerQuestionModel": { "ID": 1, "Type": "OperationalData", "ItemID": 2 }, "ColumnQuestionsModel": [ { "ID": 1, "Type": "OperationalData", "ItemID": 2 }, { "ID": 1, "Type": "OperationalData", "ItemID": 2 } ] }, { "RowQuestionModel": { "ID": 1, "Type": "OperationalData", "ItemID": 2 }, "LayerQuestionModel": { "ID": 1, "Type": "OperationalData", "ItemID": 2 }, "ColumnQuestionsModel": [ { "ID": 1, "Type": "OperationalData", "ItemID": 2 }, { "ID": 1, "Type": "OperationalData", "ItemID": 2 } ] } ], "ApplyLayerToAll": false, "ID": 1, "Name": "sample string 2", "Survey_ID": 3, "Project_ID": 4, "Favorite": true, "InsertedDate": "2025-04-04T04:48:54.4132573+02:00", "Employee_ID": 1, "Contact_ID": 1, "LoginType": "sample string 7", "Rights": "Private", "Merged_Survey_ID": 1, "SurveyVersion": 8 } }
text/plain
Sample:
{"FrequencyModel":{"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:48:54.4132573+02:00","Employee_ID":1,"Contact_ID":1,"LoginType":"sample string 8","Rights":"Private","Merged_Survey_ID":1,"SurveyVersion":9},"CrosstabModel":{"Items":[{"RowQuestionModel":{"ID":1,"Type":"OperationalData","ItemID":2},"LayerQuestionModel":{"ID":1,"Type":"OperationalData","ItemID":2},"ColumnQuestionsModel":[{"ID":1,"Type":"OperationalData","ItemID":2},{"ID":1,"Type":"OperationalData","ItemID":2}]},{"RowQuestionModel":{"ID":1,"Type":"OperationalData","ItemID":2},"LayerQuestionModel":{"ID":1,"Type":"OperationalData","ItemID":2},"ColumnQuestionsModel":[{"ID":1,"Type":"OperationalData","ItemID":2},{"ID":1,"Type":"OperationalData","ItemID":2}]}],"ApplyLayerToAll":false,"ID":1,"Name":"sample string 2","Survey_ID":3,"Project_ID":4,"Favorite":true,"InsertedDate":"2025-04-04T04:48:54.4132573+02:00","Employee_ID":1,"Contact_ID":1,"LoginType":"sample string 7","Rights":"Private","Merged_Survey_ID":1,"SurveyVersion":8}}
application/xml, text/xml
Sample:
<CombinedReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model.MergedReport"> <CrosstabModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model.Crosstab"> <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">1</ID> <InsertedDate xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">2025-04-04T04:48:54.4132573+02:00</InsertedDate> <LoginType xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">sample string 7</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 2</Name> <Project_ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">4</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">8</SurveyVersion> <Survey_ID xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model">3</Survey_ID> <d2p1:ApplyLayerToAll>false</d2p1:ApplyLayerToAll> <d2p1:Items> <d2p1:ItemModel> <d2p1:ColumnQuestionsModel> <d2p1:ItemDescription> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:ItemDescription> <d2p1:ItemDescription> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:ItemDescription> </d2p1:ColumnQuestionsModel> <d2p1:LayerQuestionModel> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:LayerQuestionModel> <d2p1:RowQuestionModel> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:RowQuestionModel> </d2p1:ItemModel> <d2p1:ItemModel> <d2p1:ColumnQuestionsModel> <d2p1:ItemDescription> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:ItemDescription> <d2p1:ItemDescription> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:ItemDescription> </d2p1:ColumnQuestionsModel> <d2p1:LayerQuestionModel> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:LayerQuestionModel> <d2p1:RowQuestionModel> <d2p1:ID>1</d2p1:ID> <d2p1:ItemID>2</d2p1:ItemID> <d2p1:Type>OperationalData</d2p1:Type> </d2p1:RowQuestionModel> </d2p1:ItemModel> </d2p1:Items> </CrosstabModel> <FrequencyModel 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-04-04T04:48:54.4132573+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> <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> </FrequencyModel> </CombinedReportModel>