POST api/TawkTo/SavePreChatData

Request Information

URI Parameters

None.

Body Parameters

PreForm
NameDescriptionTypeAdditional information
formDatas

Collection of FormData

None.

PropertyID

string

None.

Status

string

None.

SiteName

string

None.

VisitorID

string

None.

ClientCode

string

None.

DomainName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "formDatas": [
    {
      "label": "sample string 1",
      "answer": "sample string 2"
    },
    {
      "label": "sample string 1",
      "answer": "sample string 2"
    }
  ],
  "PropertyID": "sample string 1",
  "Status": "sample string 2",
  "SiteName": "sample string 3",
  "VisitorID": "sample string 4",
  "ClientCode": "sample string 5",
  "DomainName": "sample string 6"
}

text/html

Sample:
{"formDatas":[{"label":"sample string 1","answer":"sample string 2"},{"label":"sample string 1","answer":"sample string 2"}],"PropertyID":"sample string 1","Status":"sample string 2","SiteName":"sample string 3","VisitorID":"sample string 4","ClientCode":"sample string 5","DomainName":"sample string 6"}

application/xml, text/xml

Sample:
<PreForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModKit19_BO.TawkTo">
  <ClientCode>sample string 5</ClientCode>
  <DomainName>sample string 6</DomainName>
  <SiteName>sample string 3</SiteName>
  <VisitorID>sample string 4</VisitorID>
  <PropertyID>sample string 1</PropertyID>
  <Status>sample string 2</Status>
  <formDatas>
    <FormData>
      <answer>sample string 2</answer>
      <label>sample string 1</label>
    </FormData>
    <FormData>
      <answer>sample string 2</answer>
      <label>sample string 1</label>
    </FormData>
  </formDatas>
</PreForm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.