POST apimobileoauth/mobile/notificationtoken
Subscribe or unsubscribe to notifications
Request Information
URI Parameters
None.
Body Parameters
MobileAppTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationToken |
The token of the device |
string |
None. |
| NotificationEndpointType |
The notification endpoint type |
MobileNotificationEndpointType |
None. |
| SubscriptionAction |
The action to perform |
SubscriptionAction |
None. |
| MobileAppType |
the app type signing up for notifications |
MobileAppType |
None. |
Request Formats
application/json, text/json
Sample:
{
"NotificationToken": "sample string 1",
"NotificationEndpointType": 0,
"SubscriptionAction": 0,
"MobileAppType": 0
}
application/xml, text/xml
Sample:
<MobileAppTokenRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NotificationToken>sample string 1</NotificationToken> <NotificationEndpointType>AmazonDeviceMessaging</NotificationEndpointType> <SubscriptionAction>Register</SubscriptionAction> <MobileAppType>Vestigo</MobileAppType> </MobileAppTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |