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

Update device location

This Action will update the location of a specific device.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This Action will update the location of a specific device.
API endpoint slug
attm2x.update_location
Filter code method
Attm2x.updateLocation.skip(string?: reason)
Runtime method
runAction("attm2x.update_location", {})

Action 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.
Slug
device_id
Required
true
Can have default value
true
Filter code method
Attm2x.updateLocation.setDeviceId(string: deviceId)

Name Text input > Other

Label
Which location?
Helper text
Name of the new location.
Slug
name
Required
false
Can have default value
true
Filter code method
Attm2x.updateLocation.setName(string: name)

Latitude Text input > Other

Label
Latitude
Helper text
Latitude value of the new location.
Slug
latitude
Required
true
Can have default value
true
Filter code method
Attm2x.updateLocation.setLatitude(string: latitude)

Longitude Text input > Other

Label
Longitude
Helper text
Longitude value of the new location.
Slug
longitude
Required
true
Can have default value
true
Filter code method
Attm2x.updateLocation.setLongitude(string: longitude)

Elevation Text input > Other

Label
Elevation
Helper text
Elevation level of the new location.
Slug
elevation
Required
true
Can have default value
true
Filter code method
Attm2x.updateLocation.setElevation(string: elevation)