Home → API Documentation → Booking Process → api/BookingAttendeesToBook
6.2. api/BookingAttendeesToBook
This API call is used to find who from the company the user can assign as the attendee. The call will return all users and a TBC option.
If the client allows users to make bookings where they don’t know who the attendee will be at the time, you can set the attendee for the booking as TBC.
By default, the attendee will be set to TBC for the bookings you created using api/Booking if the number of created bookings is greater than 1. If one booking is made using api/Booking automatically, the booker will be set as the attendee.
You will be required to pass the uid of the logged-in user and the bid of the booking you plan to update the attendee for. The bid is supplied in the result of api/Booking but can also be taken from api/UserBasket (returned as ItemGUID).
Parameters To Submit
All parameters are required and cannot be empty.
| Parameter | Parameter Help | Parameter Data Type |
| uid | Logged in user’s uid. | String – Max 50 chars |
| bid | The booking bid that is being checked to see who can be assigned to it. | String – Max 50 chars |
Return Response
The API call ResponseMessage will return a JSON stringified array. The following fields of data will be returned.
| Field | Field Help |
| conid | The uid of the user. |
| ContactFullName | The full name of the user. |
| BookingStatus | Whether the user can be assigned to the booking “Booking Allowed” or whether they are already assigned to a booking “In Basket”, “Active”, “Cancelled” etc. |
