v1

latestOpenAPI 3.0.22026-07-26191278525.6 KB
Ext Booking

Get External Booking

Given an external booking id, it returns all attributes of the external booking

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

Path parameters

extBookingIdstring required

External Booking ID

Query parameters

excludestring

Exclude specific fields in the response. Possible values are the names of the top level fields present in corresponding API schema. To check API schema, expand the response section below.

keyListstring

Allows selective control over the fields returned in the API response. If the keyList is empty, all fields will be returned. Possible values are the names of the top level fields present in corresponding API schema. To check API schema, expand the response section below.

Headers

Authorizationstring required

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

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']