POST api/Notification/UpdateSubscriptions?authKey={authKey}
Update All Subscriptions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
authKey |
Authentication key |
string |
Required |
Body Parameters
List of Subscriptions
AlertSubscriptionModelName | Description | Type | Additional information |
---|---|---|---|
Main_Battery_Connection | boolean |
None. |
|
Over_Speed | decimal number |
None. |
|
Engine_State | boolean |
None. |
|
SOS_Button_Press | boolean |
None. |
|
Device_Offline | boolean |
None. |
|
Geofence_Entry | boolean |
None. |
|
Geofence_Exit | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Main_Battery_Connection": true, "Over_Speed": 2.0, "Engine_State": true, "SOS_Button_Press": true, "Device_Offline": true, "Geofence_Entry": true, "Geofence_Exit": true }
text/html
Sample:
{"Main_Battery_Connection":true,"Over_Speed":2.0,"Engine_State":true,"SOS_Button_Press":true,"Device_Offline":true,"Geofence_Entry":true,"Geofence_Exit":true}
application/xml, text/xml
Sample:
<AlertSubscriptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dolphin.Models"> <Device_Offline>true</Device_Offline> <Engine_State>true</Engine_State> <Geofence_Entry>true</Geofence_Entry> <Geofence_Exit>true</Geofence_Exit> <Main_Battery_Connection>true</Main_Battery_Connection> <Over_Speed>2</Over_Speed> <SOS_Button_Press>true</SOS_Button_Press> </AlertSubscriptionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json, text/html
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>