POST api/v2/PushNotifications/UnregisterDevice
Request Information
URI Parameters
None.
Body Parameters
DeviceInformationContract| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceID | string |
None. |
|
| DeviceToken | string |
None. |
|
| DeviceType | DeviceType |
None. |
|
| isDev | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceID": "sample string 1",
"DeviceToken": "sample string 2",
"DeviceType": 1,
"isDev": true
}
application/xml, text/xml
Sample:
<DeviceInformationContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agrifood.Cloud.FP.Service.V2.DataContracts"> <DeviceID>sample string 1</DeviceID> <DeviceToken>sample string 2</DeviceToken> <DeviceType>Android_FCM</DeviceType> <isDev>true</isDev> </DeviceInformationContract>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>