cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#BAMBOO_HR_ADJUST_TIME_OFF_BALANCE_FOR_EMPLOYEE' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "BAMBOO_HR_ADJUST_TIME_OFF_BALANCE_FOR_EMPLOYEE", "parameters": { "employeeId": "<string>", "date": "<string>", "timeOffTypeId": "<string>", "amount": "<string>", "note": "<string>" } } '
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Employee ID : Specify the ID of the employee associated with this adjustment. (example: "45")
Date : Specify the date adjustment. Accepts ISO 8601 date format. (example: "yyyy-mm-dd")
Time Off Type ID : Specify the associated time off type ID to add a balance adjustment for. (example: "11")
Amount : Specify the number of hours/days to adjust the balance by. The units of this amount will be determined by the time off type. (example: "-6.0000")
Note : Specify a note to attach to this adjustment.
Success
Was this page helpful?