UBDService
Click here for a complete list of operations.
PushNotificationTest
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /UBaudiWebService/UBDService.asmx HTTP/1.1 Host: roadez.st-fleetweb.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/PushNotificationTest" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <PushNotificationTest xmlns="http://tempuri.org/"> <servicekey>string</servicekey> <democase>int</democase> <poslogid>string</poslogid> <pushques>string</pushques> </PushNotificationTest> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <PushNotificationTestResponse xmlns="http://tempuri.org/"> <PushNotificationTestResult> <gcmres> <response>string</response> <result>string</result> <success>int</success> <failure>int</failure> <canonical_ids>int</canonical_ids> <results> <GCMResult xsi:nil="true" /> <GCMResult xsi:nil="true" /> </results> <httpstatus> <code>int</code> <description>string</description> </httpstatus> <pushques>string</pushques> <pushstatus>string</pushstatus> <multicast_id>string</multicast_id> </gcmres> </PushNotificationTestResult> </PushNotificationTestResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /UBaudiWebService/UBDService.asmx HTTP/1.1 Host: roadez.st-fleetweb.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <PushNotificationTest xmlns="http://tempuri.org/"> <servicekey>string</servicekey> <democase>int</democase> <poslogid>string</poslogid> <pushques>string</pushques> </PushNotificationTest> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <PushNotificationTestResponse xmlns="http://tempuri.org/"> <PushNotificationTestResult> <gcmres> <response>string</response> <result>string</result> <success>int</success> <failure>int</failure> <canonical_ids>int</canonical_ids> <results> <GCMResult xsi:nil="true" /> <GCMResult xsi:nil="true" /> </results> <httpstatus> <code>int</code> <description>string</description> </httpstatus> <pushques>string</pushques> <pushstatus>string</pushstatus> <multicast_id>string</multicast_id> </gcmres> </PushNotificationTestResult> </PushNotificationTestResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /UBaudiWebService/UBDService.asmx/PushNotificationTest?servicekey=string&democase=string&poslogid=string&pushques=string HTTP/1.1 Host: roadez.st-fleetweb.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <PushResponse xmlns="http://tempuri.org/"> <gcmres> <response>string</response> <result>string</result> <success>int</success> <failure>int</failure> <canonical_ids>int</canonical_ids> <results> <GCMResult> <registration_id>string</registration_id> <message_id>string</message_id> <error>string</error> </GCMResult> <GCMResult> <registration_id>string</registration_id> <message_id>string</message_id> <error>string</error> </GCMResult> </results> <httpstatus> <code>int</code> <description>string</description> </httpstatus> <pushques>string</pushques> <pushstatus>string</pushstatus> <multicast_id>string</multicast_id> </gcmres> </PushResponse>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /UBaudiWebService/UBDService.asmx/PushNotificationTest HTTP/1.1 Host: roadez.st-fleetweb.com Content-Type: application/x-www-form-urlencoded Content-Length: length servicekey=string&democase=string&poslogid=string&pushques=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <PushResponse xmlns="http://tempuri.org/"> <gcmres> <response>string</response> <result>string</result> <success>int</success> <failure>int</failure> <canonical_ids>int</canonical_ids> <results> <GCMResult> <registration_id>string</registration_id> <message_id>string</message_id> <error>string</error> </GCMResult> <GCMResult> <registration_id>string</registration_id> <message_id>string</message_id> <error>string</error> </GCMResult> </results> <httpstatus> <code>int</code> <description>string</description> </httpstatus> <pushques>string</pushques> <pushstatus>string</pushstatus> <multicast_id>string</multicast_id> </gcmres> </PushResponse>