TimeOffs
Add Time Offs
Changed onAdds 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
- Base URLhttps://api-sxkan78ybekjjaveh1lcig.teamhood.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-ApiKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Changes
- info
endpoint added
- info