POST message/messageUser

Request Information

URI Parameters

None.

Body Parameters

MessageRequest
NameDescriptionTypeAdditional information
UserID

integer

None.

SenderID

integer

None.

RecieverID

integer

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "SenderID": 2,
  "RecieverID": 3,
  "Message": "sample string 4"
}

text/html

Sample:
{"UserID":1,"SenderID":2,"RecieverID":3,"Message":"sample string 4"}

application/xml, text/xml

Sample:
<MessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PilledApi.Models.Request">
  <Message>sample string 4</Message>
  <RecieverID>3</RecieverID>
  <SenderID>2</SenderID>
  <UserID>1</UserID>
</MessageRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

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