GET geotab/device/alert?serialNumber={serialNumber}
Get the geotab alerts for a device
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serialNumber |
The serial number queried |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A GeoTabQueryAlertResponse
GeoTabQueryAlertResponseName | Description | Type | Additional information |
---|---|---|---|
geoTabTelemetryAlerts |
A collection of alerts |
Collection of GeoTabTelemetryAlert |
None. |
Response Formats
application/json, text/json
Sample:
{ "geoTabTelemetryAlerts": [ { "id": 1, "alertType": 0, "emailEnabled": true, "emailAddresses": [ "sample string 1", "sample string 2" ], "inactiveEmailAddresses": [ "sample string 1", "sample string 2" ], "timeZone": "sample string 3" }, { "id": 1, "alertType": 0, "emailEnabled": true, "emailAddresses": [ "sample string 1", "sample string 2" ], "inactiveEmailAddresses": [ "sample string 1", "sample string 2" ], "timeZone": "sample string 3" } ] }
application/xml, text/xml
Sample:
<GeoTabQueryAlertResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <GeoTabTelemetryAlerts> <GeoTabTelemetryAlert> <Id>1</Id> <AlertType>Heartbeat_Voltage</AlertType> <EmailEnabled>true</EmailEnabled> <EmailAddresses> <string>sample string 1</string> <string>sample string 2</string> </EmailAddresses> <InactiveEmailAddresses> <string>sample string 1</string> <string>sample string 2</string> </InactiveEmailAddresses> <Timezone>sample string 3</Timezone> </GeoTabTelemetryAlert> <GeoTabTelemetryAlert> <Id>1</Id> <AlertType>Heartbeat_Voltage</AlertType> <EmailEnabled>true</EmailEnabled> <EmailAddresses> <string>sample string 1</string> <string>sample string 2</string> </EmailAddresses> <InactiveEmailAddresses> <string>sample string 1</string> <string>sample string 2</string> </InactiveEmailAddresses> <Timezone>sample string 3</Timezone> </GeoTabTelemetryAlert> </GeoTabTelemetryAlerts> </GeoTabQueryAlertResponse>