Update an occupancy monitor to alert mapping if it exists, create a new object linking the given occupancy monitor to the given alert otherwise.
OK.
OK.
Bad request.
Authentication failed.
Not allowed.
Gone.
Unprocessable entity.
Failed.
Not implemented.
{- "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
{- "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
Set the state of an occupancy monitor to alert mapping to deleted.
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
Gone.
Unprocessable entity.
Failed.
Not implemented.
{- "code": 0,
- "message": "string"
}
Get an occupancy monitor to alert mapping identified by the provided ID.
OK.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
Not implemented.
{- "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
Get all links between occupancy monitors and alert subject to filters.
OK.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
Not implemented.
[- {
- "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "occupancyMonitorId": "51bf4310-39f9-49d3-99c1-c643ff9c2f04",
- "state": "active"
}
]