PUT api/opportunities/survey/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

OpportunitySurveyEditModel
NameDescriptionTypeAdditional 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": "fd17a6b1-e36c-4af3-bcb7-b1acc1171e76",
  "survey_reponse_id": "7c4e26fa-621f-4d36-893b-06ab33e08d5b",
  "survey_response": {
    "survey_id": "e92e628c-d3b1-4c0b-8e40-c936c0b071dd",
    "json": "sample string 2",
    "id": "2e20305d-6026-4c1a-813d-bececd5c4584",
    "subscription_id": "8084a6c2-3485-4a3b-b3cf-f3878b22c389",
    "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>fd17a6b1-e36c-4af3-bcb7-b1acc1171e76</Id>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">2e20305d-6026-4c1a-813d-bececd5c4584</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">8084a6c2-3485-4a3b-b3cf-f3878b22c389</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>e92e628c-d3b1-4c0b-8e40-c936c0b071dd</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>7c4e26fa-621f-4d36-893b-06ab33e08d5b</SurveyResponseId>
</OpportunitySurveyEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.