Approval time off record

The endpoint is for approving worker's time off request. The desicion can be "Approve" or "Reject".

Approval time off record

POST /approval-ee-time-off

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Required
Description

ee_time_off_id

numner

Time off id

decision

string

Time off approval decision Format as "Approve" or "Reject"

reject_notes

string

If manager reject this time off ,need to fill up rejected notes

Parameter Example

{
  "ee_time_off_id": 1165,
  "reject_notes": "please resubmit",
  "decision": "Reject"
}

Response

{
    "id": 1165,
    "customer_id": 1,
    "leave_type": 10,
    "start_date": "2024-10-06",
    "end_date": "2024-10-06",
    "notes": "",
    "doc_list": [
        20888
    ],
    "approver": 1818,
    "decision_time": 1730258714361,
    "decision": "Reject",
    "reject_notes": "please resubmit",
    "user": 2232,
    "platform_email": "[email protected]"
}

Last updated