api for a booking simulation