AlphaAlpha Docs
API ReferenceHr leave request

Find all for current tenant

GET
/hr/leave-requests/find-all
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/hr/leave-requests/find-all"
[
  {
    "approvedAt": "2019-08-24T14:15:22Z",
    "approvedBy": "string",
    "created": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "employeeId": "string",
    "endDate": "2019-08-24",
    "endHalf": "FULL",
    "events": [
      {
        "authorId": "string",
        "date": "2019-08-24T14:15:22Z",
        "description": "string",
        "id": "string",
        "type": "CREATE"
      }
    ],
    "id": "string",
    "leaveType": "VACATION",
    "number": "string",
    "reason": "string",
    "rejectionReason": "string",
    "startDate": "2019-08-24",
    "startHalf": "FULL",
    "status": "PENDING",
    "tenantId": "string",
    "totalDays": 0.1,
    "updated": "2019-08-24T14:15:22Z",
    "updatedBy": "string"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}