create_booking
Create a guest ride booking with pickup and drop locations, passenger count, and fare estimate, returning a booking ID for driver search.
Instructions
Create a new guest ride booking with passenger count and estimated fare. Returns booking_id. Then call get_next_driver() to begin driver search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotel_id | Yes | Hotel ID making the booking | |
| guest_name | Yes | Guest full name | |
| booking_type | Yes | Type of ride | |
| estimated_fare | No | Optional confirmed estimated fare in INR | |
| passenger_count | No | Number of passengers (default: 1) | |
| pickup_datetime | No | Optional: Pickup date and time in format 'YYYY-MM-DD HH:MM'. Defaults to current real-time timestamp if omitted. | |
| drop_location_id | Yes | Drop-off location ID (or 'HOTEL') | |
| pickup_location_id | Yes | Pickup location ID (or 'HOTEL') | |
| required_vehicle_type | No | Optional required vehicle type |