POST api/WebhookQa

Request Information

URI Parameters

None.

Body Parameters

ChatToBrandRequest
NameDescriptionTypeAdditional information
message_id

string

None.

type

string

None.

text

string

None.

transport

string

None.

_3client_id

string

None.

operator_id

Object

None.

dialog_id

Object

None.

channel_id

string

None.

image_url

string

None.

media_url

string

None.

replyOf

string

None.

pdf_url

string

None.

client

Client

None.

Image

IFormFile

None.

Request Formats

application/json, text/json

Sample:
{
  "message_id": "sample string 1",
  "type": "sample string 2",
  "text": "sample string 3",
  "transport": "sample string 4",
  "_3client_id": "sample string 5",
  "operator_id": {},
  "dialog_id": {},
  "channel_id": "sample string 8",
  "image_url": "sample string 9",
  "media_url": "sample string 10",
  "replyOf": "sample string 11",
  "pdf_url": "sample string 12",
  "client": {
    "id": "sample string 1",
    "phone": "sample string 2",
    "name": "sample string 3",
    "assigned_name": {}
  },
  "Image": null
}

application/xml, text/xml

Sample:
<ChatToBrandRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chat2BrandWebhook.Controllers">
  <Image i:nil="true" />
  <_3client_id>sample string 5</_3client_id>
  <channel_id>sample string 8</channel_id>
  <client>
    <assigned_name />
    <id>sample string 1</id>
    <name>sample string 3</name>
    <phone>sample string 2</phone>
  </client>
  <dialog_id />
  <image_url>sample string 9</image_url>
  <media_url>sample string 10</media_url>
  <message_id>sample string 1</message_id>
  <operator_id />
  <pdf_url>sample string 12</pdf_url>
  <replyOf>sample string 11</replyOf>
  <text>sample string 3</text>
  <transport>sample string 4</transport>
  <type>sample string 2</type>
</ChatToBrandRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChatToBrandRequest'.

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.