v 1.7.19

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]}

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

Request Formats

application/json, text/json

{
  "Id": "1ea64361-57a5-4c20-b784-afff608c55ee",
  "Json": "sample string 2"
}

application/xml, text/xml

<SurveyChangeResultColumns xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/surveyjs.io.Controllers">
  <Id>1ea64361-57a5-4c20-b784-afff608c55ee</Id>
  <Json>sample string 2</Json>
</SurveyChangeResultColumns>

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 'SurveyChangeResultColumns'.

Response Information

Response Description: Returns Ok if succeed.

IHttpActionResult

Parameters:

None.

Response Formats

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

Sample not available.