curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#BAMBOO_HR_CREATE_TIME_OFF_REQUEST' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "BAMBOO_HR_CREATE_TIME_OFF_REQUEST",
"parameters": {
"employeeId": "<string>",
"timeOffTypeId": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"status": "approved",
"amount": "<string>",
"employeeNote": "<string>",
"managerNote": "<string>"
}
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Your Paragon Project ID
Success
Was this page helpful?
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#BAMBOO_HR_CREATE_TIME_OFF_REQUEST' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "BAMBOO_HR_CREATE_TIME_OFF_REQUEST",
"parameters": {
"employeeId": "<string>",
"timeOffTypeId": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"status": "approved",
"amount": "<string>",
"employeeNote": "<string>",
"managerNote": "<string>"
}
}'