v5

latestOpenAPI 3.0.02026-08-017841,2603.2 MB
hris
timeoff

Update a timeoff

put/hris/{connection_id}/timeoff/{id}

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Timeoff

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time
updated_atstring date-time
user_idstring required
company_idstring
start_atstring date-time
end_atstring date-time
is_paidboolean
status'APPROVED' | 'PENDING' | 'DENIED' | 'CANCELLED'
approver_user_idstring
approved_atstring date-time
commentsstring
reasonstring
type'VACATION' | 'SICK' | 'HOLIDAY' | 'BEREAVEMENT' | 'PARENTAL' | 'UNPAID' | 'IN_LIEU' | 'OTHER'
durationnumber
duration_type'HOUR' | 'DAY'
rawobject

Response

Successful

idstring
created_atstring date-time
updated_atstring date-time
user_idstring required
company_idstring
start_atstring date-time
end_atstring date-time
is_paidboolean
status'APPROVED' | 'PENDING' | 'DENIED' | 'CANCELLED'
approver_user_idstring
approved_atstring date-time
commentsstring
reasonstring
type'VACATION' | 'SICK' | 'HOLIDAY' | 'BEREAVEMENT' | 'PARENTAL' | 'UNPAID' | 'IN_LIEU' | 'OTHER'
durationnumber
duration_type'HOUR' | 'DAY'
rawobject