PUT https://api.surveyjs.io/private/Surveys/setResultPermissions?accessKey={accessKey}
Change the result summary state.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accessKey |
Your user unique indentificator.
|
string |
Required
|
Body Parameters
{Id: [A survey unique indentificator.], Json: [New default state as json string]}
SurveyResultsStateName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None.
|
|
Json | string |
None.
|
Request Formats
application/json, text/json
{ "Id": "d33f579d-05ea-4742-8a9c-70892bafaee2", "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>d33f579d-05ea-4742-8a9c-70892bafaee2</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.