cURL
curl --request PUT \ --url 'https://sandbox.rollfi.xyz/adminPortal#updateTimeOffRequestStatus' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "method": "updateTimeOffStatus", "timeOffRequestId": "5E11A5FA-83C1-4F83-91D2-46931D0B9C58", "businessUserId": "19C51920-62D1-480D-8639-2E0B18BC5661", "isApproved": true } '
200
1
{ "timeOffRequest": { "timeOffRequestId": "E1B7738D-4037-45E7-BFDD-3DC03BF500BA", "status": "Approved", "message": "Time off request approved successfully" }}
The updateTimeOffRequestStatus API is used to approve or deny a timeOff request
updateTimeOffRequestStatus
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Show child attributes