Skip to content

List alert occupancy monitor links

Request

Get all links between alerts and occupancy monitors subject to filters.

Security
api_key
Query
occupancyMonitorIdstring, (uuid)

the ID of the occupancy monitor the alert is linked to.

alertIdstring, (uuid)

the ID of the alert the occupancy monitors are linked to.

siteIdstring, (uuid)

the ID of the site the linked occupancy monitor is part of.

organisationIdstring, (uuid)

the ID of the organisation the linked alert is part of.

curl -i -X GET \
  'https://coreapi.hoxton.ai/_mock/v1/alert-occupancy-monitors?occupancyMonitorId=497f6eca-6276-4993-bfeb-53cbbbba6f08&alertId=497f6eca-6276-4993-bfeb-53cbbbba6f08&siteId=497f6eca-6276-4993-bfeb-53cbbbba6f08&organisationId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK.

Bodyapplication/json
Array [
alertIdstring, (uuid)required
occupancyMonitorIdstring, (uuid)required
]
Response
[ { "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04" } ]