Docs
Get Locations
GET /Organizations/{orgId}/locations
GET
/Organizations/{orgId}/locationsReturns all locations defined for the organization, each with its type and property values. orgId is the organization the caller is working in, from Users_GetOrganizations. Needs the organization basic access or organization admin permission.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Response
Type: GetLocationsResponse[]
GetLocationsResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| typeId | uuid| null | |
| values | GetLocationsResponsePropertyValueInfo[]| null |
GetLocationsResponsePropertyValueInfo
| Field | Type | Description |
|---|---|---|
| propertyId | uuid | |
| value | string| null |