Finds and returns unique identifiers for all Locations that match a given criteria.
| Get | api/locations |
Resource Path: /sites/{company-id}/api/locations
Uri: https://secure.ontime360.com/sites/{company-id}/api/locations
| Name | Description | Data Type |
|---|---|---|
addressLine1 (query) | The exact street address of a Location as a String. | string |
city (query) | The city or locality the Location is based in as a String. | string |
companyName (query) | The associated company name of a Location as a String. | string |
contactName (query) | The associated contact name of a Location as a String. | string |
country (query) | The country or national political entity the Location is based in as a String. | string |
email (query) | The associated email address of a Location as a String. | string |
postalCode (query) | The postal code of a Location as a String. | string |
state (query) | string | |
lastModifiedDateMin (query) | The inclusive minimum last modified date of a Location as a Date. | string |
lastModifiedDateMax (query) | The inclusive maximum last modified date of a Location as a Date. | string |
creationDateMin (query) | The inclusive minimum creation date of a Location as a Date. | string |
creationDateMax (query) | The inclusive maximum creation date of a Location as a Date. | string |
The response body is of type Array[].
An array of unique Guid identifiers assigned to matching Location objects.| Fault | Description |
|---|---|
| 400 | Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information. |
| 401 | Authorization key is invalid or no longer exists. |
| 403 | Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information. |