Explore Plans
Mobile menu Close menu
AT&T M2XAT&T M2X

New device location

This Trigger fires every time the location of a device is updated.

Developer info

API endpoint slug
attm2x.location_updated

Trigger fields

Device ID Text input > Other

Label
Which device?
Helper text
The device ID can be found on the Device Details page of your M2X account. Leave this field blank for firing this trigger when any device updates its location.
Slug
device_id
Required
true
Can have default value
true

Ingredients

Device IDThe ID of the device whose location has been updated.

Slug
device_id
Filter code
Attm2x.locationUpdated.DeviceId
Type
String
Example
65b89448f954f49e42b746d73b385cbb

Device nameThe name of the device whose location has been updated.

Slug
device_name
Filter code
Attm2x.locationUpdated.DeviceName
Type
String
Example
Main Engine

Device serialThe serial number of the device whose location has been updated.

Slug
device_serial
Filter code
Attm2x.locationUpdated.DeviceSerial
Type
String
Example
ABCD1234567890

LatitudeThe latitude value of the new location.

Slug
latitude
Filter code
Attm2x.locationUpdated.Latitude
Type
String
Example
40.77177

LongitudeThe longitude value of the new location.

Slug
longitude
Filter code
Attm2x.locationUpdated.Longitude
Type
String
Example
-73.97352

ElevationThe elevation of the new location.

Slug
elevation
Filter code
Attm2x.locationUpdated.Elevation
Type
String
Example
10

TimestampDate and time location has been updated.

Slug
timestamp
Filter code
Attm2x.locationUpdated.Timestamp
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00