Create time off request

Create a new time-off request for a user under a specified policy. The time-off request can be either in pending or approved status.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request model for the new Time Off Request

integer

The unique identifier of the time clock where the time off will be presented in the timesheet

integer
required
≥ 1

The ID of the user to create the time off request

string
required

The ID of the policy type

boolean
required

Specifies the type of the time period. Defaults to true. If set to false, start and end time fields must be specified.

string
required

The start date of the time off in ISO format (YYYY-MM-DD)

string
required

The end time of the time off in ISO format (YYYY-MM-DD). End date must be similar to Start date if isAllDay set to false.

string

The start time of the time off in ISO format (HH:MM:SS). This field is required if isAllDay set to false.

string

The end time of the time off in ISO format (HH:MM:SS). This field is required if isAllDay set to false.

string
required

The timezone in Tz format (e.g. America/New_York)

string
enum
required

The status of the time off request.

Allowed:
string

Employee note providing additional details

string

Manager note providing additional details

boolean
Defaults to false

Specifies if the time given should offset the daylight savings time change if the time falls exactly on the daylight savings time change. Set to true only if the time coincides with the rollback hour, otherwise, it should remain false.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json