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": "01d54fe8-44fc-48c1-a8da-f2730468e09e",
  "survey_id": "80e3ad26-fc1c-46e1-a467-96e64362bceb",
  "survey_name": "sample string 3",
  "survey_json": "sample string 4",
  "survey_response_id": "31a6c36d-41d5-46e2-9cca-fd12ab292e1c",
  "survey_response_json": "sample string 5",
  "survey_response": {
    "survey_id": "e6b52150-b1dd-4081-b795-014170269253",
    "json": "sample string 2",
    "id": "1074b3da-96cd-4b25-9926-dfc998f2e11e",
    "subscription_id": "957d0bf1-1612-43ce-88df-538910760a88",
    "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>01d54fe8-44fc-48c1-a8da-f2730468e09e</ContactLogId>
  <SurveyId>80e3ad26-fc1c-46e1-a467-96e64362bceb</SurveyId>
  <SurveyJson>sample string 4</SurveyJson>
  <SurveyName>sample string 3</SurveyName>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">1074b3da-96cd-4b25-9926-dfc998f2e11e</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">957d0bf1-1612-43ce-88df-538910760a88</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>e6b52150-b1dd-4081-b795-014170269253</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>31a6c36d-41d5-46e2-9cca-fd12ab292e1c</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.