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