POST api/KDCA/ChatsAgentMessage

Request Information

URI Parameters

None.

Body Parameters

ChatsBack
NameDescriptionTypeAdditional information
agent

integer

None.

idClient

integer

None.

idChat

integer

None.

message

string

None.

queries

Collection of ChatsQueryBack

None.

Request Formats

application/json, text/json

Sample:
{
  "agent": 1,
  "idClient": 2,
  "idChat": 3,
  "message": "sample string 4",
  "queries": [
    {
      "idClient": 1,
      "idQuery": 2,
      "name": "sample string 3",
      "description": "sample string 4"
    },
    {
      "idClient": 1,
      "idQuery": 2,
      "name": "sample string 3",
      "description": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<ChatsBack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KDCA.Model">
  <agent>1</agent>
  <idChat>3</idChat>
  <idClient>2</idClient>
  <message>sample string 4</message>
  <queries>
    <ChatsQueryBack>
      <description>sample string 4</description>
      <idClient>1</idClient>
      <idQuery>2</idQuery>
      <name>sample string 3</name>
    </ChatsQueryBack>
    <ChatsQueryBack>
      <description>sample string 4</description>
      <idClient>1</idClient>
      <idQuery>2</idQuery>
      <name>sample string 3</name>
    </ChatsQueryBack>
  </queries>
</ChatsBack>

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.