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": "429de932-b9a7-43b8-a214-4d8cd4d19b26",
  "survey_reponse_id": "8b0bb63f-10d4-40c6-8a28-cf15d382d209",
  "survey_response": {
    "survey_id": "575fe7b8-7e2f-46da-b0b7-818136b0f0cb",
    "json": "sample string 2",
    "id": "1b1fe12d-06d3-416e-91a8-24a79582f1b6",
    "subscription_id": "f0f3c076-bb49-4c26-bdb2-34f61f2a7dc1",
    "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>429de932-b9a7-43b8-a214-4d8cd4d19b26</Id>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">1b1fe12d-06d3-416e-91a8-24a79582f1b6</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">f0f3c076-bb49-4c26-bdb2-34f61f2a7dc1</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>575fe7b8-7e2f-46da-b0b7-818136b0f0cb</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>8b0bb63f-10d4-40c6-8a28-cf15d382d209</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.