GET api/Notification/Subscriptions?authKey={authKey}

Get All Subscriptions for the user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authKey

User Authentication Key

string

Required

Body Parameters

None.

Response Information

Resource Description

List of subscribed events

AlertSubscriptionModel
NameDescriptionTypeAdditional 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.

Response 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>