Timeoff
Create Request
POST
/
staff
/
timeoff
/
{workspaceId}
/
{staffId}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
workspaceId
string
requiredstaffId
string
requiredBody
application/json
start
string
requiredend
string
requirednotes
string
requiredtype
enum<string>
requiredAvailable options:
medical
, mental_health
, personal
, holiday
, moving_house
, education
, religious
, bereavement
, military
, other
other
string
Response
200 - application/json
start
string
requiredend
string
requirednotes
string
requiredtype
enum<string>
requiredAvailable options:
medical
, mental_health
, personal
, holiday
, moving_house
, education
, religious
, bereavement
, military
, other
status
enum<string>
requiredAvailable options:
pending
, approved
, denied
, cancelled
user
string
requiredworkspace
string
requiredcreatedAt
string
requiredupdatedAt
string
required_id
string
requiredother
string
state_changed_by
string
requested_by
string