Public API

Please go to api.dxsurvey.com for Survey public API. It doesn't require access key or any authorization.

POST 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

Sample:
{
  "Id": "69d1dec2-12ae-4db3-bdf3-666c3b3c99c9",
  "Json": "sample string 2"
}

application/xml, text/xml

Sample:
<SurveyChangeResultColumns xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/surveyjs.io.Controllers">
  <Id>69d1dec2-12ae-4db3-bdf3-666c3b3c99c9</Id>
  <Json>sample string 2</Json>
</SurveyChangeResultColumns>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns Ok if succeed.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.