GET
/
api
/
v3
/
workcycleExceptions
/
{id}
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"
  }
}

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer
required

ID of the workcycleException

Required range: x >= 1

Response

200
application/json
OK

The response is of type object.