PUT api/surveys/response
Request Information
URI Parameters
None.
Body Parameters
SurveyResponseEditModel| Name | Description | Type | Additional information |
|---|---|---|---|
| survey_id | globally unique identifier |
None. |
|
| survey_name | string |
None. |
|
| survey_json | string |
None. |
|
| survey_response_id | globally unique identifier |
None. |
|
| survey_response_json | string |
None. |
|
| survey_response | SurveyResponseModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"survey_id": "2a4ed936-c049-44ae-83f7-b7fb01e7560d",
"survey_name": "sample string 2",
"survey_json": "sample string 3",
"survey_response_id": "3d20bb18-742b-46b5-ba90-afefa577a88a",
"survey_response_json": "sample string 4",
"survey_response": {
"survey_id": "6b24760d-19b9-40ce-a785-109108e1c2ac",
"json": "sample string 2",
"id": "4124a34a-28a3-46b4-a100-227934ee3fec",
"subscription_id": "84ab3921-388a-4fde-8c7b-f9b06d44c84b",
"ts": "QEA="
}
}
application/xml, text/xml
Sample:
<SurveyResponseEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
<SurveyId>2a4ed936-c049-44ae-83f7-b7fb01e7560d</SurveyId>
<SurveyJson>sample string 3</SurveyJson>
<SurveyName>sample string 2</SurveyName>
<SurveyResponse>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">4124a34a-28a3-46b4-a100-227934ee3fec</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">84ab3921-388a-4fde-8c7b-f9b06d44c84b</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<Json>sample string 2</Json>
<SurveyId>6b24760d-19b9-40ce-a785-109108e1c2ac</SurveyId>
</SurveyResponse>
<SurveyResponseId>3d20bb18-742b-46b5-ba90-afefa577a88a</SurveyResponseId>
<SurveyResponseJson>sample string 4</SurveyResponseJson>
</SurveyResponseEditModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.