Public API

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

POST api/MySurveys/changeJson?accessKey={accessKey}

Change the survey json.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accessKey

Your user unique indentificator.

string

Required

Body Parameters

{Id: [A survey unique indentificator.], Json: [A new json string]}

SurveyChangeJson
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Json

string

None.

Text

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "67916af7-41a6-43d2-8182-e8f219edd877",
  "Json": "sample string 2",
  "Text": "sample string 3"
}

application/xml, text/xml

Sample:
<SurveyChangeJson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/surveyjs.io.Controllers">
  <Id>67916af7-41a6-43d2-8182-e8f219edd877</Id>
  <Json>sample string 2</Json>
  <Text>sample string 3</Text>
</SurveyChangeJson>

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.