POST api/PushNotification
Request Information
URI Parameters
None.
Body Parameters
PushNotification| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Title | string |
None. |
|
| Subtitle | string |
None. |
|
| PlayerIds | Collection of string |
None. |
|
| ExternalIds | Collection of string |
None. |
|
| Image | string |
None. |
|
| LaunchUrl | string |
None. |
|
| FranchiseCode | string |
None. |
|
| send_after | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Title": "sample string 2",
"Subtitle": "sample string 3",
"PlayerIds": [
"sample string 1",
"sample string 2"
],
"ExternalIds": [
"sample string 1",
"sample string 2"
],
"Image": "sample string 4",
"LaunchUrl": "sample string 5",
"FranchiseCode": "sample string 6",
"send_after": "sample string 7"
}
application/xml, text/xml
Sample:
<PushNotificationController.PushNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.Controllers">
<ExternalIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ExternalIds>
<FranchiseCode>sample string 6</FranchiseCode>
<Image>sample string 4</Image>
<LaunchUrl>sample string 5</LaunchUrl>
<Message>sample string 1</Message>
<PlayerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</PlayerIds>
<Subtitle>sample string 3</Subtitle>
<Title>sample string 2</Title>
<send_after>sample string 7</send_after>
</PushNotificationController.PushNotification>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.