Finds and returns unique identifiers for all Zones that match a given criteria.
Get | api/zones |
Resource Path: /sites/{company-id}/api/zones
Uri: https://secure.ontime360.com/sites/{company-id}/api/zones
Name | Description | Data Type |
---|---|---|
name | The exact name of a Zone as a String. | string |
postalCodesContain | Any single postal code, or the exact full-list of postal codes, that the Zone is assigned to as a String. | string |
The response body is of type Array[].
Returns an array of unique Guid identifiers assigned to matching Zone 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. |