Update Location
PUT request to update location details. The identifier for the location to be updated is included in the JSON body. This is a partial update and only those details specified in the JSON body will be updated.
The updated address for the location can be specified as just the longitude and latitude coordinates or an address (roadNumber, road, city, postcode, country).
The type of a location can be updated from a circle to a polygon or from a polygon to a circle, by specifying the the geofence for the location as either:
- radius - A geofence for the location is a circle. The radius for the circle must be between 0.001 and 1.
- polygon - The geofence for the location is a polygon which is specified as an array of longitude and latitude pairs. There must be at least three longitude and latitude pairs specified. The geofence boundary is closed by automatically linking the first longitude and latitude pair to the last longitude and latitude pair specified.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
Body
^[\w]*$Geographic coordinate with latitude and longitude values.
3 - 2147483647 elements5020^\+?\d+$5050140Response
Successful operation
^[\w]*$Geographic coordinate with latitude and longitude values.
3 - 2147483647 elements5020^\+?\d+$5050140