Patch External Booking

Patches external booking given its id. Note: All required body params in the schema are not enforced in PATCH request, unlike path params.

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

External Booking ID

Body Params
string
required

Email of the creator of the booking

int32
required

Creation timestamp for the booking

string

Start date of the booking in ISO format (YYYY-MM-DD)

string

End date of the booking in ISO format (YYYY-MM-DD)

bookedCapacity
object | null

Booked capacity of employee

int32 | null

Last modified timestamp for the booking

int32

[DEPRECATED] End date of the booking in epoch timestamp format. Use endDateIso instead.

string | null

Email of the last modifier of the booking

string
required

External booking id

int32

[DEPRECATED] Start date of the booking in epoch timestamp format. Use startDateIso instead.

string | null

External demand id for the demand associated with the booking

string
required

Employee id

string
enum
required

Status of the booking. Possible values: ['pending', 'approved', 'rejected']

Allowed:
string
enum
required

Type of the booking. Possible values: ['demand', 'leave', 'optional_holiday', 'blocker']

Allowed:
Headers
string
required

The secret key to access the api. It starts with the bearer token

Response

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