List locations
upkeep_list_locationsList locations (sites, buildings, rooms) with address, barcode, parent location and hierarchy level. GET /locations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Only locations with exactly this name. | |
| limit | No | Records per page, 1-100 (default 25). | |
| offset | No | Records to skip (default 0). Pass the previous reply's next_offset. | |
| barcode | No | Only the location with this barcode. | |
| includes | No | Expand referenced records inline instead of returning ids. Allowed: createdByUser, parentLocation, hierarchyLevel, ancestors, numTotalChildren, numTotalDescendants. | |
| order_by | No | Sort: "<field> ASC|DESC" with field one of createdAt, updatedAt (default "createdAt DESC"). | |
| created_after | No | Created at or after this time. ISO 8601. | |
| updated_after | No | Updated at or after this time. ISO 8601. | |
| created_before | No | Created at or before this time. ISO 8601. | |
| updated_before | No | Updated at or before this time. ISO 8601. | |
| hierarchy_level | No | Only this hierarchy level (0 = top level, up to 5). | |
| parent_location | No | Only records for this parent location id. |