GET
/
api
/
v3
/
sickLeaveCertificates
curl --request GET \
  --url https://{account}-{sandboxName}.sandbox.{server}.luccasoftware.com/api/v3/sickLeaveCertificates
{
  "data": {
    "items": [
      {
        "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
      }
    ]
  }
}

Query Parameters

paging
string
required

{offset},{limit}. Defaults to 0,1000.

leavePeriod.ownerId
integer[]

Filter out results on the related employee ID.

leavePeriod.owner.departmentId
integer[]

Filter out results on the related employee department ID.

Filter out results on the related employee legalEntity (ie business-establishment) ID.

creationDate
string

Filter out results on their creation date.

Response

200 - application/json
OK
data
object