Create a new time-off request.

This endpoint creates a new time-off request for a specified _userId and existing _timeOffTypeId within a defined date range specified by the from (start) and to (end) fields. The request will be listed in the app in the Time-off history as 'submitted time off on behalf of' the person assigned to the request.

Additionally, it is possible to indicate whether the 'from' and 'to' dates are taken as full days using the optional fields partOfDayFrom and partOfDayTo, respectively. If these optional parameters are not provided, the time-off request creation defaults to full days for both the from and to dates.
All requests will be made on behalf of the _userId, and the status of the request will be 'Processed' if the dates (from and to) are in the past, while if the dates are in the future, the status will be 'Submitted'.

This endpoint does not allow creating time-off requests of hourly type.

For the optimal performance of this endpoint, it supports up to 200 requests per minute. Please note, rapidly consecutive requests to this endpoint may not be processed in the submitted order. We recommend spacing out your requests for consistent processing results.

Language
URL
Click Try It! to start a request and see the response here!