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": "9c977e1b-9a0c-44dd-b891-f8d0668669ca",
  "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>9c977e1b-9a0c-44dd-b891-f8d0668669ca</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.