POST api/GetPrivateMessage

Request Information

URI Parameters

None.

Body Parameters

SelectPrivateMessage
NameDescriptionTypeAdditional information
token

string

None.

from_message_id

integer

None.

to_message_id

integer

None.

receiver_user_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "from_message_id": 1,
  "to_message_id": 1,
  "receiver_user_name": "sample string 2"
}

application/xml, text/xml

Sample:
<SelectPrivateMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChannelAPI.Classes">
  <from_message_id>1</from_message_id>
  <receiver_user_name>sample string 2</receiver_user_name>
  <to_message_id>1</to_message_id>
  <token>sample string 1</token>
</SelectPrivateMessage>

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 'SelectPrivateMessage'.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.