Get Locations
GET
/api/v1/locations/:location_id?
Retrieve a list of locations from your Monolith tenant.
Path Parameters
This is the numeric id of the location - will return a single location item.
Example Response Body
{
data: [
{
"location_id": 1,
"name": "Released",
"type": "Released",
"is_parent": 0,
"parent": null,
"office": {
"name": "Austin",
"office_id": 1
}
},
{
"location_id": 2,
"name": "Evidence Cage",
"type": "Team",
"is_parent": 1,
"parent": null,
"office": {
"name": "Austin",
"office_id": 1
}
},
{
"location_id": 3,
"name": "Matt Danner",
"type": "User",
"is_parent": 0,
"parent": {
"name": "Evidence Cage",
"location_id": 2
},
"office": {
"name": "Austin",
"office_id": 9
}
},
{
"location_id": 4,
"name": "Rick Sanchez",
"type": "User",
"is_parent": 0,
"parent": {
"name": "Evidence Cage",
"location_id": 2
},
"office": {
"name": "Austin",
"office_id": 1
}
}
]
}