List time off
list_time_offLists time off (vacation, sick leave, other), soonest first (up to 500): the user's own and, on Pro, that of the editors of the projects the user owns. Each has the person, the kind, the first and last day, the minutes off each day (null is the whole working day), the number of days and its status: pending (asked for and waiting for an owner of the person's projects), approved (it lowers the capacity) or rejected, with who decided, when and their note, and whether the user can approve or reject it. The person's own note comes only with the user's own time off. Person names and notes are typed by people. Optionally one person's, one status, or what overlaps a range of days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only time off that starts on or before this day, YYYY-MM-DD. | |
| from | No | Only time off that reaches this day or later, YYYY-MM-DD. | |
| status | No | Only time off in this status (pending: waiting for approval). | |
| userId | No | Only this person's time off: the user's own or an editor of one of the user's projects (Pro). |