PUT api/contactlogs/survey/edit

Request Information

URI Parameters

None.

Body Parameters

ContactLogSurveyEditModel
NameDescriptionTypeAdditional information
contact_log_id

globally unique identifier

None.

survey_id

globally unique identifier

None.

survey_name

string

None.

survey_json

string

None.

survey_response_id

globally unique identifier

None.

survey_response_json

string

None.

survey_response

SurveyResponseModel

None.

Request Formats

application/json, text/json

Sample:
{
  "contact_log_id": "481d3c13-84c1-4e34-87ae-d057224409f3",
  "survey_id": "7bf2e9eb-7a3d-4f63-a41b-8baf4cabc63e",
  "survey_name": "sample string 3",
  "survey_json": "sample string 4",
  "survey_response_id": "874aee6a-0e47-4e40-85b1-ab2ba2bdec0b",
  "survey_response_json": "sample string 5",
  "survey_response": {
    "survey_id": "f41841c7-afc1-47c4-a9f0-73f6a68c523f",
    "json": "sample string 2",
    "id": "e711ef84-60a6-4652-8006-6aa05a90427c",
    "subscription_id": "2dbc0faf-c856-45ab-a7d1-5deab00c9e65",
    "ts": "QEA="
  }
}

application/xml, text/xml

Sample:
<ContactLogSurveyEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
  <ContactLogId>481d3c13-84c1-4e34-87ae-d057224409f3</ContactLogId>
  <SurveyId>7bf2e9eb-7a3d-4f63-a41b-8baf4cabc63e</SurveyId>
  <SurveyJson>sample string 4</SurveyJson>
  <SurveyName>sample string 3</SurveyName>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">e711ef84-60a6-4652-8006-6aa05a90427c</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">2dbc0faf-c856-45ab-a7d1-5deab00c9e65</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>f41841c7-afc1-47c4-a9f0-73f6a68c523f</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>874aee6a-0e47-4e40-85b1-ab2ba2bdec0b</SurveyResponseId>
  <SurveyResponseJson>sample string 5</SurveyResponseJson>
</ContactLogSurveyEditModel>

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.