POST api/AddDirectChat

Request Information

URI Parameters

None.

Body Parameters

ChatListParams
NameDescriptionTypeAdditional information
Uid

integer

None.

Id

integer

None.

ChatUserName

string

None.

str

integer

None.

pr

integer

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Uid": 1,
  "Id": 1,
  "ChatUserName": "sample string 1",
  "str": 1,
  "pr": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ChatListParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models">
  <ChatUserName>sample string 1</ChatUserName>
  <Id>1</Id>
  <Message>sample string 2</Message>
  <Uid>1</Uid>
  <pr>1</pr>
  <str>1</str>
</ChatListParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResposeData
NameDescriptionTypeAdditional information
Id

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResposeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models">
  <Id>1</Id>
  <Message>sample string 2</Message>
</ResposeData>