hris
timeoff

Update a timeoff

patch/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
original_typestring
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
original_typestring
type'VACATION' | 'SICK' | 'HOLIDAY' | 'BEREAVEMENT' | 'PARENTAL' | 'UNPAID' | 'IN_LIEU' | 'OTHER'
durationnumber
duration_type'HOUR' | 'DAY'
rawobject

Changes

Changed in 2 of the 25 revisions of this API.14

    • added the new optional request property

      new-optional-request-property

    • added the enum value original_type to the property items/ of the query request parameter fields

      request-parameter-property-enum-value-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new CANCELLED enum value to the response property for the response status

      response-property-enum-value-added

    • added the new CANCELLED enum value to the request property

      request-property-enum-value-added