cURL
curl --request GET \ --url https://{host}/api/v3/workcycleExceptions/{id} \ --header 'Authorization: <authorization>'
{ "data": { "id": 2, "name": "<string>", "url": "<string>", "ownerId": 2, "owner": { "id": 2, "name": "<string>", "url": "<string>", "firstName": "<string>", "lastName": "<string>" }, "isAm": true, "unit": "day", "startsAt": "2023-11-07T05:31:56Z", "endsAt": "2023-11-07T05:31:56Z", "durationInMinutes": 1, "duration": "<string>", "authorId": 1, "createdAt": "2023-11-07T05:31:56Z", "modifierId": 1, "modifiedAt": "2023-11-07T05:31:56Z", "deletedById": 1, "deletedAt": "2023-11-07T05:31:56Z" } }
Retrieve a single WorkCycleException by its ID.
API key. Value must be formatted like so: lucca application={api_key}.
lucca application={api_key}
ID of the workcycleException
x >= 1
OK
The response is of type object.
object
Was this page helpful?