v1
latestOpenAPI 3.0.22026-07-26191278525.6 KBCreate External Booking
Create a new External Booking
Headers
The secret key to access the api. It starts with the bearer token
Request body
Email of the creator of the booking
Creation timestamp for the booking
Internal booking ID
Start date of the booking in ISO format (YYYY-MM-DD)
End date of the booking in ISO format (YYYY-MM-DD)
Last modified timestamp for the booking
[DEPRECATED] End date of the booking in epoch timestamp format. Use endDateIso instead.
Email of the last modifier of the booking
External booking id
[DEPRECATED] Start date of the booking in epoch timestamp format. Use startDateIso instead.
External demand id for the demand associated with the booking
Employee id
Status of the booking. Possible values: ['pending', 'approved', 'rejected']
Type of the booking. Possible values: ['demand', 'leave', 'optional_holiday', 'blocker']
Response
OK
Email of the creator of the booking
Creation timestamp for the booking
Internal booking ID
Start date of the booking in ISO format (YYYY-MM-DD)
End date of the booking in ISO format (YYYY-MM-DD)
Last modified timestamp for the booking
[DEPRECATED] End date of the booking in epoch timestamp format. Use endDateIso instead.
Email of the last modifier of the booking
External booking id
[DEPRECATED] Start date of the booking in epoch timestamp format. Use startDateIso instead.
External demand id for the demand associated with the booking
Employee id
Status of the booking. Possible values: ['pending', 'approved', 'rejected']
Type of the booking. Possible values: ['demand', 'leave', 'optional_holiday', 'blocker']