POST api/TakeSurvey
Request Information
URI Parameters
None.
Body Parameters
ShortSurveyAnswersName | Description | Type | Additional information |
---|---|---|---|
linkId | string |
None. |
|
answers | Collection of ShortSurveyAnswer |
None. |
Request Formats
application/json, text/json
Sample:
{ "linkId": "sample string 1", "answers": [ { "questionId": 1, "textAnswer": "sample string 2", "likertAnswer": 3 }, { "questionId": 1, "textAnswer": "sample string 2", "likertAnswer": 3 } ] }
application/xml, text/xml
Sample:
<ShortSurveyAnswers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoRefCheck.Data"> <answers> <ShortSurveyAnswer> <likertAnswer>3</likertAnswer> <questionId>1</questionId> <textAnswer>sample string 2</textAnswer> </ShortSurveyAnswer> <ShortSurveyAnswer> <likertAnswer>3</likertAnswer> <questionId>1</questionId> <textAnswer>sample string 2</textAnswer> </ShortSurveyAnswer> </answers> <linkId>sample string 1</linkId> </ShortSurveyAnswers>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |