Get a single booking by ID
Fetches a single booking by its ID from Experience, Restaurant, or Hotel APIs.
## Features
- **Parallel Search**: If dataType is not provided, queries all three verticals in parallel
- **Direct Query**: If dataType is provided, directly queries the specified vertical for better performance
- **Fallback Search**: If single dataType search returns null, automatically searches all verticals as fallback
- **Unified Response**: Returns booking data in standardized format
## Path Parameters
- **bookingId**: The unique identifier of the booking
## Query Parameters
- **dataType** (optional): Specify the vertical to query (RESTAURANT, EXPERIENCE, HOTEL)
- If provided: Queries only the specified vertical first, then falls back to all verticals if not found
- If not provided: Queries all verticals in parallel until one succeeds
## Response Structure
The booking object includes:
- **id**: Booking ID
- **dataType**: Type of booking (RESTAURANT, EXPERIENCE, HOTEL)
- **data**: Raw booking data from the respective service
## Error Codes
- **UNAUTHORIZED**: Authorization token is missing
- **NOT_FOUND**: Booking not found in any vertical
- **EXTERNAL_API_ERROR**: Error from external booking services
- **SERVICE_ERROR**: Internal service error
- **INTERNAL_ERROR**: Unexpected server error
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
bookingId
Query parameters
dataType
Response
Booking retrieved successfully
