POST ChatSupport/SendMessage

Request Information

URI Parameters

None.

Body Parameters

ChatSupportModel
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

UserId

globally unique identifier

None.

roleid

globally unique identifier

None.

message

string

None.

msgcount

integer

None.

msgdate

date

None.

formattedmsgdate

string

None.

from_msg

globally unique identifier

None.

to_msg

globally unique identifier

None.

UserName

string

None.

image

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "f5a75ce4-9836-4c8f-9891-54069a363995",
  "UserId": "5e9d6ab9-6303-4a69-92a1-ca3af4e7dd2a",
  "roleid": "01ee067e-c0ce-4cfc-b8d5-ad44eb600dca",
  "message": "sample string 4",
  "msgcount": 5,
  "msgdate": "2024-12-23T04:06:35.2463355+05:30",
  "formattedmsgdate": "sample string 7",
  "from_msg": "f6bb7d5d-50dc-458a-9036-45c24694b0ee",
  "to_msg": "5384e348-32b2-4313-b11d-1e3c2f06306b",
  "UserName": "sample string 10",
  "image": "sample string 11"
}

application/xml, text/xml

Sample:
<ChatSupportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <UserId>5e9d6ab9-6303-4a69-92a1-ca3af4e7dd2a</UserId>
  <UserName>sample string 10</UserName>
  <formattedmsgdate>sample string 7</formattedmsgdate>
  <from_msg>f6bb7d5d-50dc-458a-9036-45c24694b0ee</from_msg>
  <id>f5a75ce4-9836-4c8f-9891-54069a363995</id>
  <image>sample string 11</image>
  <message>sample string 4</message>
  <msgcount>5</msgcount>
  <msgdate>2024-12-23T04:06:35.2463355+05:30</msgdate>
  <roleid>01ee067e-c0ce-4cfc-b8d5-ad44eb600dca</roleid>
  <to_msg>5384e348-32b2-4313-b11d-1e3c2f06306b</to_msg>
</ChatSupportModel>

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.