Update an occupancy monitor if it exists, create a new one otherwise.
An occupancy monitor.
Created.
No Content.
Bad request.
Authentication failed.
Not allowed.
Gone.
Unprocessable entity.
Failed.
{- "capacity": 100,
- "dailyResetMin": 0,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "reportingEndDate": "2019-08-24",
- "reportingStartDate": "2019-08-24",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "active"
}
{- "capacity": 100,
- "dailyResetMin": 0,
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "reportingEndDate": "2019-08-24",
- "reportingStartDate": "2019-08-24",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "active"
}
Set the state of an occupancy monitor to deleted.
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
Gone.
Unprocessable entity.
Failed.
{- "code": 0,
- "message": "string"
}
Get an occupancy monitor identified by the provided ID.
OK.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "capacity": 100,
- "dailyResetMin": 0,
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "reportingEndDate": "2019-08-24",
- "reportingStartDate": "2019-08-24",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "active"
}
Get all available occupancy monitors subject to filters.
OK.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
[- {
- "capacity": 100,
- "dailyResetMin": 0,
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "reportingEndDate": "2019-08-24",
- "reportingStartDate": "2019-08-24",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "active"
}
]