v1

latestOpenAPI 3.0.22026-07-26191278525.6 KB
Ext Booking

Update External Booking

Updates external booking given its id.

put/api/v2/resource_management/ext-systems/resourcing/ext-bookings/{extBookingId}

Path parameters

extBookingIdstring required

External Booking ID

Headers

Authorizationstring required

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

Request body

creatorEmailstring required

Email of the creator of the booking

createdAtinteger required

Creation timestamp for the booking

bookingIdinteger nullable

Internal booking ID

startDateIsostring

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

endDateIsostring

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

lastModifiedAtinteger nullable

Last modified timestamp for the booking

endDateinteger

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

lastModifierEmailstring nullable

Email of the last modifier of the booking

extBookingIdstring required

External booking id

startDateinteger

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

extDemandIdstring nullable

External demand id for the demand associated with the booking

employeeIdstring required

Employee id

bookingStatus'pending' | 'approved' | 'rejected' required

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

bookingType'demand' | 'leave' | 'optional_holiday' | 'blocker' required

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

Response

OK

creatorEmailstring required

Email of the creator of the booking

createdAtinteger required

Creation timestamp for the booking

bookingIdinteger nullable

Internal booking ID

startDateIsostring

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

endDateIsostring

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

lastModifiedAtinteger nullable

Last modified timestamp for the booking

endDateinteger

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

lastModifierEmailstring nullable

Email of the last modifier of the booking

extBookingIdstring required

External booking id

startDateinteger

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

extDemandIdstring nullable

External demand id for the demand associated with the booking

employeeIdstring required

Employee id

bookingStatus'pending' | 'approved' | 'rejected' required

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

bookingType'demand' | 'leave' | 'optional_holiday' | 'blocker' required

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