For the complete documentation index, see llms.txt. This page is also available as Markdown.

_list

Returns the data of selected Availabilities depending on filter parameters. Will return all of them if no parameters are used.

Parameters

id

The ID of an exact Availability.

from

Sets a point in epoch time. This filter only allows Availabilities that end past this point.

to

Sets a point in epoch time. This filter only allows Availabilities that start before this point.

obj_type

The sort of object which this Availability will affect, being a Company, Department, Role or User.

  • company

  • department

  • role

  • user

obj_id

The type of event in relation to the Availability, can be one of the following:

  • absence

  • annual_leave

  • sick_leave

  • unpaid_leave

  • public_holiday

  • company_holiday

  • unavailable

  • available_override

status

The Status of the Availability: 0 = Pending 1 = Approved 2 = Rejected 3 = Cancelled

Example

Result

Last updated