PUT api/opportunities/survey/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
OpportunitySurveyEditModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| survey_reponse_id | globally unique identifier |
None. |
|
| survey_response | SurveyResponseModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "03cc50bf-8ecb-4ccc-95c8-c5fc79ab4edf",
"survey_reponse_id": "4d73639e-f79b-41d5-acac-7b7409c20948",
"survey_response": {
"survey_id": "cef2836d-2bee-4e72-9c5d-abc4874b4138",
"json": "sample string 2",
"id": "cc97d6a7-3e65-4a29-96c7-d0755cc4cf40",
"subscription_id": "55404a7f-871f-43c8-9105-43beb382e323",
"ts": "QEA="
}
}
application/xml, text/xml
Sample:
<OpportunitySurveyEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
<Id>03cc50bf-8ecb-4ccc-95c8-c5fc79ab4edf</Id>
<SurveyResponse>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">cc97d6a7-3e65-4a29-96c7-d0755cc4cf40</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">55404a7f-871f-43c8-9105-43beb382e323</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<Json>sample string 2</Json>
<SurveyId>cef2836d-2bee-4e72-9c5d-abc4874b4138</SurveyId>
</SurveyResponse>
<SurveyResponseId>4d73639e-f79b-41d5-acac-7b7409c20948</SurveyResponseId>
</OpportunitySurveyEditModel>
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.