Skip to main content
POST
/
api
/
location
/
getLocationsAssociatedToLocationLabelsByOrg
Get locations by labels
curl --request POST \
  --url https://api2.rhombussystems.com/api/location/getLocationsAssociatedToLocationLabelsByOrg \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '{}'
{
  "error": true,
  "errorMsg": "<string>",
  "locationLabels": {},
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request object for getting all location labels for an organization.

Response

200 - application/json

OK

Response object containing all location labels for an organization.

error
boolean | null
errorMsg
string | null
locationLabels
object

Map of location name or location id to label set

warningMsg
string | null