Skip to main content
PUT
/
adminPortal#updateTimeOffRequestStatus
updateTimeOffRequestStatus
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
}
'
{
"timeOffRequest": {
"timeOffRequestId": "E1B7738D-4037-45E7-BFDD-3DC03BF500BA",
"status": "Approved",
"message": "Time off request approved successfully"
}
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
timeOffRequestId
string
required
businessUserId
string
required
isApproved
boolean
required

Response

timeOffRequest
object
required