API ReferenceVacation Type
Creates a VacationType resource.
Creates a VacationType resource.
Authorization
apiKey Authorization<token>
Value for the Authorization header parameter.
In: header
The new VacationType resource
TypeScript Definitions
Use the request body type in TypeScript.
name*string
Length
length <= 100decrementVacation*boolean
isActive*boolean
Default
trueResponse Body
curl -X POST "https://example.com/calendar/vacation-types" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "decrementVacation": true, "isActive": true }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "decrementVacation": true, "isActive": true}