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": "a214ade1-75ad-404e-837b-b2a5154131b1",
  "survey_id": "369db3ff-abe4-4119-a12e-f04c8b27446e",
  "survey_name": "sample string 3",
  "survey_json": "sample string 4",
  "survey_response_id": "ff84e462-2023-4068-bf77-a329633fe7e3",
  "survey_response_json": "sample string 5",
  "survey_response": {
    "survey_id": "ca4f967b-5668-4b1d-b482-dea84994edcc",
    "json": "sample string 2",
    "id": "723b7e27-cfc8-4162-8148-dded1d3ee901",
    "subscription_id": "36286176-f054-46fa-9e07-05d3e007705a",
    "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>a214ade1-75ad-404e-837b-b2a5154131b1</ContactLogId>
  <SurveyId>369db3ff-abe4-4119-a12e-f04c8b27446e</SurveyId>
  <SurveyJson>sample string 4</SurveyJson>
  <SurveyName>sample string 3</SurveyName>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">723b7e27-cfc8-4162-8148-dded1d3ee901</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">36286176-f054-46fa-9e07-05d3e007705a</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>ca4f967b-5668-4b1d-b482-dea84994edcc</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>ff84e462-2023-4068-bf77-a329633fe7e3</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.