POST api/v{version}/survey?surveyId={surveyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
surveyId

string

Required

version

The requested API version

string

Required

Default value is 1

Body Parameters

Dictionary of string [key] and string [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

text/javascript

Sample:
{"sample string 1":"sample string 2","sample string 3":"sample string 4"}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IDictionary`2'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/javascript

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>