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": "d42b0a96-5c3d-4117-b847-853587419740",
  "survey_reponse_id": "09e97422-5667-412f-b868-808f11add66b",
  "survey_response": {
    "survey_id": "9b2103ac-639a-4376-8d64-fbb7d34edbe0",
    "json": "sample string 2",
    "id": "c294dd2e-6f67-4356-b337-93f774668ff6",
    "subscription_id": "9e8c9643-0a7a-4b4e-8fff-99d94eef80f7",
    "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>d42b0a96-5c3d-4117-b847-853587419740</Id>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">c294dd2e-6f67-4356-b337-93f774668ff6</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">9e8c9643-0a7a-4b4e-8fff-99d94eef80f7</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>9b2103ac-639a-4376-8d64-fbb7d34edbe0</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>09e97422-5667-412f-b868-808f11add66b</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.