v1

latestOpenAPI 3.1.02026-07-2421872196.9 KB
Leaves

Create a leave adjustment

Creates a leave adjustment

post/leave_adjustments

Request body

employee_idinteger required

The ID of an existing employee that leave adjustment will be created for.

leave_type_idinteger required

The ID of an existing leave type that the leave request will be created for. The employee must have a policy of this leave type assigned to them.

occurred_onstring date required
amountnumber float required
descriptionstring

Details about the leave adjustment

Example request

{
  "occurred_on": "2023-01-01",
  "amount": 1.5
}

Response

Created

object required