Submit time off updates
POST
/v1/timeoffSubmit time off updates to Calven.
Request
Body Params application/json
No schema defined
Example
{
"timeOffEvents": [
{
"eventId": "C5C69845-DD77-487E-9C6A-708581B361E9",
"email": "bob@domain.com",
"eventType": "scheduled",
"startDate": "2024-12-30",
"endDate": "2025-01-02",
"timeOffType": "leave"
},
{
"eventId": "C5C69845-DD77-487E-9C6A-708581B361E9",
"email": "mary@domain.com",
"eventType": "cancelled",
"startDate": "2024-11-30",
"endDate": "2025-11-30"
}
]
}
Request samples
Responses
Success(200)
Success(201)
Payload when auth header is missing or invalid(401)
403(403)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 5 months ago