PUT https://api.surveyjs.io/private/Surveys/setResultColumns?accessKey={accessKey}
Changes result columns.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accessKey |
Your private access key.
|
string |
Required
|
Body Parameters
{ Id: [a survey ID], Json: [a stringified JSON object with new result columns] }
SurveyResultsStateName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None.
|
|
Json | string |
None.
|
Request Formats
application/json, text/json
{ "Id": "d2d656a2-ffcd-4a2b-b357-f738399d05ef", "Json": "sample string 2" }
application/xml, text/xml
<SurveyResultsState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Id>d2d656a2-ffcd-4a2b-b357-f738399d05ef</Id> <Json>sample string 2</Json> </SurveyResultsState>
application/x-www-form-urlencoded
Sample not available.
Response Information
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.