POST ExpoPush/SendPushNotification
Request Information
URI Parameters
None.
Body Parameters
PUSH_NOTIFICATION| Name | Description | Type | Additional information |
|---|---|---|---|
| to | Collection of string |
None. |
|
| title | string |
None. |
|
| body | string |
None. |
|
| sound | string |
None. |
|
| data | DATA |
None. |
|
| ttl | integer |
None. |
|
| priority | string |
None. |
|
| subtitle | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
text/html
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PushTicketResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of PushTicketStatus |
None. |
|
| ProcessResult | ProcessResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"status": "sample string 1",
"id": "sample string 2",
"message": "sample string 3",
"details": {}
},
{
"status": "sample string 1",
"id": "sample string 2",
"message": "sample string 3",
"details": {}
}
],
"ProcessResult": {
"m_eProcessState": 0,
"m_sClass": "sample string 1",
"m_sMethod": "sample string 2",
"m_iLastId": 3,
"m_cDataTable": null,
"m_lUserMessageList": [
"sample string 1",
"sample string 2"
],
"m_sErrorMessage": "sample string 4",
"m_cException": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}
}
text/html
Sample:
{"data":[{"status":"sample string 1","id":"sample string 2","message":"sample string 3","details":{}},{"status":"sample string 1","id":"sample string 2","message":"sample string 3","details":{}}],"ProcessResult":{"m_eProcessState":0,"m_sClass":"sample string 1","m_sMethod":"sample string 2","m_iLastId":3,"m_cDataTable":null,"m_lUserMessageList":["sample string 1","sample string 2"],"m_sErrorMessage":"sample string 4","m_cException":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}}
application/xml, text/xml
Sample:
<PushTicketResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM">
<ProcessResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/bnfOBJ">
<d2p1:m_cDataTable i:nil="true" />
<d2p1:m_cException xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
<Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</d2p1:m_cException>
<d2p1:m_eProcessState>SystemException</d2p1:m_eProcessState>
<d2p1:m_iLastId>3</d2p1:m_iLastId>
<d2p1:m_lUserMessageList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</d2p1:m_lUserMessageList>
<d2p1:m_sClass>sample string 1</d2p1:m_sClass>
<d2p1:m_sErrorMessage>sample string 4</d2p1:m_sErrorMessage>
<d2p1:m_sMethod>sample string 2</d2p1:m_sMethod>
</ProcessResult>
<PushTicketStatuses>
<PushTicketStatus>
<TicketDetails />
<TicketId>sample string 2</TicketId>
<TicketMessage>sample string 3</TicketMessage>
<TicketStatus>sample string 1</TicketStatus>
</PushTicketStatus>
<PushTicketStatus>
<TicketDetails />
<TicketId>sample string 2</TicketId>
<TicketMessage>sample string 3</TicketMessage>
<TicketStatus>sample string 1</TicketStatus>
</PushTicketStatus>
</PushTicketStatuses>
</PushTicketResponse>