POST api/KDCALiveChat/CrispPicker

Request Information

URI Parameters

None.

Body Parameters

CrispMessage
NameDescriptionTypeAdditional information
type

string

None.

from

string

None.

origin

string

None.

content

CrispMessageContent

None.

Request Formats

application/json, text/json

Sample:
{
  "type": "sample string 1",
  "from": "sample string 2",
  "origin": "sample string 3",
  "content": {
    "id": "sample string 1",
    "text": "sample string 2",
    "explain": "sample string 3",
    "value": "sample string 4",
    "name": "sample string 5",
    "url": "sample string 6",
    "type": "sample string 7",
    "duration": 8,
    "choices": [
      {
        "value": "sample string 1",
        "label": "sample string 2",
        "selected": "sample string 3"
      },
      {
        "value": "sample string 1",
        "label": "sample string 2",
        "selected": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CrispMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KDCA.Model">
  <content>
    <choices>
      <CrispMessageChoice>
        <label>sample string 2</label>
        <selected>sample string 3</selected>
        <value>sample string 1</value>
      </CrispMessageChoice>
      <CrispMessageChoice>
        <label>sample string 2</label>
        <selected>sample string 3</selected>
        <value>sample string 1</value>
      </CrispMessageChoice>
    </choices>
    <duration>8</duration>
    <explain>sample string 3</explain>
    <id>sample string 1</id>
    <name>sample string 5</name>
    <text>sample string 2</text>
    <type>sample string 7</type>
    <url>sample string 6</url>
    <value>sample string 4</value>
  </content>
  <from>sample string 2</from>
  <origin>sample string 3</origin>
  <type>sample string 1</type>
</CrispMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.