POST pnsregistration/subscribe
Subscribe to push notification events
Request Information
URI Parameters
None.
Body Parameters
POST request object that encapsualtes the Azure regisration Id, the device application handle, platform (iOS ("1") vs. Android ("2))
RegistrationUpsertRequestName | Description | Type | Additional information |
---|---|---|---|
RegistrationId |
Azure issued registration Id |
string |
Required |
Platform |
Support Platform: iOS ("1"), Android ("2") |
string |
Required |
Handle |
Device specific application Id. |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "RegistrationId": "sample string 1", "Platform": "sample string 2", "Handle": "sample string 3" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.