Across 6 paths, the API surfaces 9 operations — 1 DELETE, 2 GET, 1 PATCH, 5 POST. Each is listed below with its method, path, parameters, and response codes.
timeoff 9
GET
/v1/org/{orgId}/timeoff
Retrieve time off requests
findTimeOff7 params→ 200400401404500
POST
/v1/org/{orgId}/timeoff
Create a time off request
createTimeOff2 params→ 201400401404500
POST
/v1/org/{orgId}/timeoff/request
Request time off
requestTimeOff2 params→ 201400401404500
POST
/v1/org/{orgId}/timeoff/request/validate
Validate a time off request
validateRequest3 params→ 201400401404500
GET
/v1/org/{orgId}/timeoff/{timeOffId}
Return a particular time off request by id
getTimeOff2 params→ 200400401404500
PATCH
/v1/org/{orgId}/timeoff/{timeOffId}
Update an existing time off request
updateTimeOff3 params→ 204400401404500
DELETE
/v1/org/{orgId}/timeoff/{timeOffId}
Delete a time off request
deleteTimeOff2 params→ 204400401404500
POST
/v1/org/{orgId}/timeoff/{timeOffId}/approve
Approve a pending time off request
approveTimeOff4 params→ 204400401404500
POST
/v1/org/{orgId}/timeoff/{timeOffId}/reject
Reject a pending time off request
rejectTimeOff4 params→ 204400401404500
Schemas 12
The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are TimeOffEntity (31 properties), CreateTimeOffEntity (16 properties), UpdateTimeOffEntity (14 properties), TimeOffRequest (10 properties). Each schema is shown below with its type and property counts.
AccessAction
object
3 properties1 required
TimeOff
object
8 properties3 required
ResultsAccess
object
2 properties1 required
TimeOffRequest
object
10 properties2 required
CreateTimeOffEntity
object
16 properties4 required
ExcludedDay
object
2 properties2 required
Attribution
object
6 properties
CalculatedTimeOffBalance
object
9 properties3 required
TimeOffEntity
object
31 properties5 required
ResultsTimeOffEntity
object
3 properties1 required
TimeOffApproval
object
1 property
UpdateTimeOffEntity
object
14 properties
Specification
The full machine-readable OpenAPI contract behind this narrative.