POST api/SendpushNotification

Request Information

URI Parameters

None.

Body Parameters

pushNotificationmoel
NameDescriptionTypeAdditional information
Token

string

None.

sendtype

string

None.

Title

string

None.

body

string

None.

subtitle

string

None.

icon

string

None.

sound

string

None.

clickaction

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "sendtype": "sample string 2",
  "Title": "sample string 3",
  "body": "sample string 4",
  "subtitle": "sample string 5",
  "icon": "sample string 6",
  "sound": "sample string 7",
  "clickaction": "sample string 8"
}

application/xml, text/xml

Sample:
<pushNotificationmoel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <Title>sample string 3</Title>
  <Token>sample string 1</Token>
  <body>sample string 4</body>
  <clickaction>sample string 8</clickaction>
  <icon>sample string 6</icon>
  <sendtype>sample string 2</sendtype>
  <sound>sample string 7</sound>
  <subtitle>sample string 5</subtitle>
</pushNotificationmoel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.