POST api/Chat/SaveChatMessage

Request Information

URI Parameters

None.

Body Parameters

ChatMessageModel
NameDescriptionTypeAdditional information
ToUserId

string

None.

FromUserId

string

None.

Msg

string

None.

ChatID

integer

None.

CompanyId

string

None.

ClinicId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ToUserId": "sample string 1",
  "FromUserId": "sample string 2",
  "Msg": "sample string 3",
  "ChatID": 4,
  "CompanyId": "sample string 5",
  "ClinicId": "sample string 6"
}

application/xml, text/xml

Sample:
<ChatMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iConceiveAPI.Models">
  <ChatID>4</ChatID>
  <ClinicId>sample string 6</ClinicId>
  <CompanyId>sample string 5</CompanyId>
  <FromUserId>sample string 2</FromUserId>
  <Msg>sample string 3</Msg>
  <ToUserId>sample string 1</ToUserId>
</ChatMessageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>