Cart Buy Licenses Contact Support Login/Register
v 1.8.3
v 1.8.3
Overview My Surveys Examples Public API Docs Private API Docs

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

Change the result Columns.

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": "9e117d74-5def-43a2-93cf-683de26fccb3",
  "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>9e117d74-5def-43a2-93cf-683de26fccb3</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.