v 1.8.4

POST https://surveyjs.io/api/MySurveys/setResultTableState?accessKey={accessKey}

Change the result table state.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accessKey
Your user unique indentificator.
string
Required

Body Parameters

{Id: [A survey unique indentificator.], Json: [New default columns as json string]}

SurveyResultsState
NameDescriptionTypeAdditional information
Id
globally unique identifier
None.
Json
string
None.

Request Formats

application/json, text/json

{
  "Id": "62860a5e-e2dd-4219-b1e6-df29dac26ee7",
  "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>62860a5e-e2dd-4219-b1e6-df29dac26ee7</Id>
  <Json>sample string 2</Json>
</SurveyResultsState>

application/x-www-form-urlencoded

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SurveyResultsState'.

Response Information

Response Description: Returns Ok if succeed.

IHttpActionResult

Parameters:

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample not available.