curl --request GET \
--url https://{host}/api/v3/sickLeaveCertificates/{id} \
--header 'Authorization: <authorization>'
{
"data": {
"id": 123,
"leavePeriodId": 123,
"leaveAccountId": 123,
"authorId": 123,
"creationDate": "2023-11-07T05:31:56Z",
"isActive": true,
"cancellationDate": "2023-11-07T05:31:56Z",
"cancellationUserId": 123,
"subrogation": true,
"subrogationStartDate": "2023-11-07T05:31:56Z",
"subrogationEndDate": "<string>",
"lastWorkingDay": "2023-11-07T05:31:56Z",
"numberOfWaitingPeriodDays": 1,
"numberOfCompensatedDays": 1,
"partTimeNature": 0,
"partTimeActivityRate": 123,
"partTimeReturnType": 0,
"earlyReturn": true,
"extension": true,
"comments": "<string>",
"originalLeavePeriodId": 123,
"accidentDate": "<string>",
"accidentPlace": 0,
"firstObservationDate": "2023-11-07T05:31:56Z",
"childArrivalScheduledDate": "<string>",
"childArrivalEffectiveDate": "<string>",
"childArrivalType": 0,
"isSingleChild": true,
"childAdoptionDistribution": 0,
"paternityLeavePartType": 0,
"compensationRate": 123,
"longLastingAffection": true
}
}
Retrieve a single SickLeaveCertificate.
curl --request GET \
--url https://{host}/api/v3/sickLeaveCertificates/{id} \
--header 'Authorization: <authorization>'
{
"data": {
"id": 123,
"leavePeriodId": 123,
"leaveAccountId": 123,
"authorId": 123,
"creationDate": "2023-11-07T05:31:56Z",
"isActive": true,
"cancellationDate": "2023-11-07T05:31:56Z",
"cancellationUserId": 123,
"subrogation": true,
"subrogationStartDate": "2023-11-07T05:31:56Z",
"subrogationEndDate": "<string>",
"lastWorkingDay": "2023-11-07T05:31:56Z",
"numberOfWaitingPeriodDays": 1,
"numberOfCompensatedDays": 1,
"partTimeNature": 0,
"partTimeActivityRate": 123,
"partTimeReturnType": 0,
"earlyReturn": true,
"extension": true,
"comments": "<string>",
"originalLeavePeriodId": 123,
"accidentDate": "<string>",
"accidentPlace": 0,
"firstObservationDate": "2023-11-07T05:31:56Z",
"childArrivalScheduledDate": "<string>",
"childArrivalEffectiveDate": "<string>",
"childArrivalType": 0,
"isSingleChild": true,
"childAdoptionDistribution": 0,
"paternityLeavePartType": 0,
"compensationRate": 123,
"longLastingAffection": true
}
}
API key. Value must be formatted like so: lucca application={api_key}
.
The SickLeaveCertificate ID.
OK
The response is of type object
.
Was this page helpful?