GET
/
api
/
v3
/
leaves
/
{leaveId}
curl --request GET \
  --url https://{account}-{sandboxName}.sandbox.{server}.luccasoftware.com/api/v3/leaves/{leaveId}
{
  "data": {
    "id": "<string>",
    "date": "2023-12-25",
    "isAm": true,
    "leaveAccountId": 123,
    "leaveAccount": {
      "id": 123,
      "name": "<string>"
    },
    "leavePeriodId": 123,
    "leavePeriod": {
      "id": 123,
      "ownerId": 123,
      "isConfirmed": true,
      "confirmationDate": null,
      "attachmentId": null,
      "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": null,
    "cancellationUserId": null,
    "comment": "<string>"
  }
}

Path Parameters

leaveId
string
required

Identifier of the leave.

Response

200
application/json
OK
data
object

Was this page helpful?