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": "ac9eca92-5667-452a-a432-ff16046167b7",
  "survey_reponse_id": "d4d87308-6e65-4c3f-8b15-f0654c5266a1",
  "survey_response": {
    "survey_id": "05f2c848-c6e8-4dc0-97e2-4a34cb16c903",
    "json": "sample string 2",
    "id": "925514b8-31bd-4de5-9c1b-9db92a6e2af0",
    "subscription_id": "8543518d-1f38-42fe-b7aa-fab6a2faa874",
    "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>ac9eca92-5667-452a-a432-ff16046167b7</Id>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">925514b8-31bd-4de5-9c1b-9db92a6e2af0</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">8543518d-1f38-42fe-b7aa-fab6a2faa874</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>05f2c848-c6e8-4dc0-97e2-4a34cb16c903</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>d4d87308-6e65-4c3f-8b15-f0654c5266a1</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.