cURL
curl --request GET \ --url https://{host}/api/v3/leaves/{id} \ --header 'Authorization: <authorization>'
{ "data": { "id": "<string>", "date": "2023-12-25", "isAm": true, "leaveAccountId": 123, "leavePeriodId": 123, "leaveAccount": { "id": 123, "name": "<string>" }, "leavePeriod": { "id": 123, "ownerId": 123, "isConfirmed": true, "confirmationDate": "<unknown>", "attachmentId": "<unknown>", "leaves": [ {} ], "logs": [ { "id": 123, "date": "2023-11-07T05:31:56Z", "comment": "<string>", "status": 0 } ] }, "value": "<string>", "creationDate": "2023-11-07T05:31:56Z", "isActive": true, "cancellationDate": "<unknown>", "cancellationUserId": null, "comment": "<string>" } }
Retrieve a single Leave by its unique identifier.
API key. Value must be formatted like so: lucca application={api_key}.
lucca application={api_key}
Identifier of the leave.
OK
Show child attributes
Was this page helpful?