POST api/PushNotification

Request Information

URI Parameters

None.

Body Parameters

ChatMessage
NameDescriptionTypeAdditional information
username

string

None.

text

string

None.

dt

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "text": "sample string 2",
  "dt": "sample string 3"
}

application/xml, text/xml

Sample:
<ChatMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/plndr_api.Classes">
  <dt>sample string 3</dt>
  <text>sample string 2</text>
  <username>sample string 1</username>
</ChatMessage>

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

Response Information

Resource Description

None.