v1

latestOpenAPI 3.0.22026-07-26191278525.6 KB
Booking

Delete Booking

Deletes a booking given its id.

delete/api/v2/resource_management/bookings/{bookingId}

Path parameters

bookingIdstring required

Eightfold Booking ID

Headers

Authorizationstring required

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

Response

OK

createdAtinteger nullable

Created timestamp for the booking

updatedBystring nullable

User who updated the booking

isArchivedboolean nullable

A flag indicating if booking is archived

startDateIsostring

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

capacitynumber float required

Booked capacity of employee

startDateinteger

[DEPRECATED] Start date of the booking. Use startDateIso instead.

archivedAtinteger nullable

Archived timestamp for the booking

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

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

bookingIdinteger nullable

Booking id

demandIdinteger nullable

Demand id associated with the booking

endDateinteger

[DEPRECATED] End date of the booking. Use endDateIso instead.

updatedAtinteger nullable

Updated timestamp for the booking

employeeProfileIdinteger nullable

Profile ID of the employee

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

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

endDateIsostring

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

createdBystring nullable

User who created the booking

employeeEmailstring required

Email of employee