TimeOffs

Adds up to 1000 time offs in a single transaction: if any entry is invalid, none are added. user is the id of an active or invited member (see type and status in List all Users); guests and disabled users are rejected. "All" adds a company-wide time off. finish is the last day off and must be within 5 years from today. A time off must not share a day with one the user already has, or with another entry for the same user in the request. Company-wide time offs only conflict with each other. Requires a tenant API key.

post/api/v1/timeoffs

Request

Request body

userstring nullable required

User id, or "All" for a company-wide time off

titlestring nullable required
startstring date required
finishstring date required

Last day of the time off (inclusive)

Response

OK

Changes