Gets all locations
Gets all locations of the project.
Query parameters
The number of items to return per page
A token from the previously returned response to retrieve the specified page.
Geofence ID
Filter the results by geofenceId
Filter locations by name. Matching is case-insensitive. The following wildcards can be used: '*' matches any number of any characters, '?' matches any single character.
Filter locations by street address. Matching is case-insensitive. The following wildcards can be used: '*' matches any number of any characters, '?' matches any single character.
Filter locations by city. Matching is case-insensitive. The following wildcards can be used: '*' matches any number of any characters, '?' matches any single character.
Filter locations by postal code. Matching is case-insensitive. The following wildcards can be used: '*' matches any number of any characters, '?' matches any single character.
Filter locations by state. Matching is case-insensitive. The following wildcards can be used: '*' matches any number of any characters, '?' matches any single character.
Filter locations by country. Matching is case-insensitive. The following wildcards can be used: '*' matches any number of any characters, '?' matches any single character.
Filter locations by locationId wildcard. The following wildcards can be used: '*' matches any number of any characters, '?' matches any single character.
A paramater to specify field to sort by and order. The following format can be used: 'name:asc' sort by name in ascending order, 'steet:desc' sort by street in descending order. Allowed fields to sort by: locationId, name, street, city, postalCode, state, country.
External location id in external cloud
Filter locations by external location id
Response
Response body contains an array of location objects, count indicating the number of returned items, limit indicating the requested maximum amount of records to be returned and pageToken for the next page if available.
Example response
{
"items": [
{
"description": "Rostock Port Hafenbecken C",
"geofenceId": "57713e50-194e-4803-8ca6-1e794e916094",
"location": {
"lat": 54.155147,
"lng": 12.12204
},
"locationId": "LOC-61a3fba0-cb44-405f-816c-c2aec73a1add",
"name": "Rostock Port"
}
]
}