hris/timeoffs

Create Timeoffs

Create Timeoffs in any supported Hris software

post/hris/timeoffs

Query parameters

remote_databoolean

Set to true to include data from the original Hris software.

Headers

x-connection-tokenstring required

The connection token

Request body

employeestring nullable

The UUID of the employee taking time off

approverstring nullable

The UUID of the approver for the time off request

statusstring nullable

The status of the time off request

employee_notestring nullable

A note from the employee about the time off request

unitsstring nullable

The units used for the time off (e.g., Days, Hours)

amountnumber nullable

The amount of time off requested

request_typestring nullable

The type of time off request

start_timestring date-time nullable

The start time of the time off

end_timestring date-time nullable

The end time of the time off

field_mappingsobject nullable

The custom field mappings of the object between the remote 3rd party & Panora

Example request

{
  "employee": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "approver": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "status": "REQUESTED",
  "employee_note": "Annual vacation",
  "units": "DAYS",
  "amount": 5,
  "request_type": "VACATION",
  "start_time": "2024-07-01T09:00:00Z",
  "end_time": "2024-07-05T17:00:00Z",
  "field_mappings": {
    "custom_field_1": "value1",
    "custom_field_2": "value2"
  }
}

Response

employeestring nullable

The UUID of the employee taking time off

approverstring nullable

The UUID of the approver for the time off request

statusstring nullable

The status of the time off request

employee_notestring nullable

A note from the employee about the time off request

unitsstring nullable

The units used for the time off (e.g., Days, Hours)

amountnumber nullable

The amount of time off requested

request_typestring nullable

The type of time off request

start_timestring date-time nullable

The start time of the time off

end_timestring date-time nullable

The end time of the time off

field_mappingsobject nullable

The custom field mappings of the object between the remote 3rd party & Panora

idstring nullable

The UUID of the time off record

remote_idstring nullable

The remote ID of the time off in the context of the 3rd Party

remote_dataobject nullable

The remote data of the time off in the context of the 3rd Party

remote_created_atstring date-time nullable

The date when the time off was created in the 3rd party system

created_atstring date-time nullable

The created date of the time off record

modified_atstring date-time nullable

The last modified date of the time off record

remote_was_deletedboolean nullable

Indicates if the time off was deleted in the remote system

Example response

{
  "employee": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "approver": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "status": "REQUESTED",
  "employee_note": "Annual vacation",
  "units": "DAYS",
  "amount": 5,
  "request_type": "VACATION",
  "start_time": "2024-07-01T09:00:00Z",
  "end_time": "2024-07-05T17:00:00Z",
  "field_mappings": {
    "custom_field_1": "value1",
    "custom_field_2": "value2"
  },
  "id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "remote_id": "timeoff_1234",
  "remote_data": {
    "raw_data": {
      "additional_field": "some value"
    }
  },
  "remote_created_at": "2024-06-15T12:00:00Z",
  "created_at": "2024-06-15T12:00:00Z",
  "modified_at": "2024-06-15T12:00:00Z"
}

Changes