Skip to main content
PUT
/
userPortal#updateTimeOffRequest
updateTimeOffRequest
curl --request PUT \
  --url 'https://sandbox.rollfi.xyz/userPortal#updateTimeOffRequest' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "updateTimeOffRequest",
  "timeOffRequest": {
    "timeOffRequestId": "836DEAC4-9CEA-4D34-B8D5-BFD8CFE8E5A3",
    "requestStartDate": "2025-10-30",
    "requestEndDate": "2025-11-03",
    "timeOffLineItems": [
      {
        "date": "2025-10-30",
        "requestHours": 4
      },
      {
        "date": "2025-11-02",
        "requestHours": 4
      },
      {
        "date": "2025-11-03",
        "requestHours": 2
      }
    ]
  }
}
'
{
"timeOffRequest": {
"timeOffRequestId": "9283E7CA-A503-49E9-A228-E86018A97E8D",
"status": "Pending",
"message": "Time off request updated 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
timeOffRequest
object
required

Response

timeOffRequest
object
required