Update a peel off monitor if it exists, create a new one otherwise.
Created.
Updated.
Bad request.
Authentication failed.
Not allowed.
Gone.
Unprocessable entity.
Failed.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "reportingEndDate": "2019-08-24",
- "reportingStartDate": "2019-08-24",
- "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
- "state": "active"
}
{- "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 a peel off monitor to deleted.
OK.
Bad request.
Authentication failed.
Not allowed.
Not found.
Gone.
Unprocessable entity.
Failed.
{- "code": 0,
- "message": "string"
}
Get a peel off monitor identified by the provided ID.
OK.
Authentication failed.
Not allowed.
Not found.
Unprocessable entity.
Failed.
{- "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 peel off monitors subject to filters.
OK.
Authentication failed.
Not allowed.
Unprocessable entity.
Failed.
[- {
- "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"
}
]