Booking Details API

This will retrieve the booking details that you have made.

API details

GET /api/v1/hotel/booking-api/booking/details/{referenceNumber}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <Access token>

Accept-Encoding

gzip

Response

{
    "success": true,
    "data": {
        "tokenNumber": "RA_1728413337142",
        "referenceNumber": "B2BHOT_1728413656963",
        "hotelBookingConfNo": "1_238-2406737_1",
        "fromDate": "2024-10-17",
        "toDate": "2024-10-20",
        "resevervations": [
            {
                "noOfAdults": 1,
                "noOfChildren": 0,
                "childrenAges": []
            }
        ],
        "hotel": {
            "hotelId": 100354,
            "hotelName": "Nine Hotel",
            "room": {
                "roomName": "Standard Room"
            },
            "roomCount": 1
        },
        "netPrice": 771,
        "noOfNights": 3,
        "travellerDetails": [
            {
                "roomId": 1,
                "title": "mr",
                "firstName": "First Name",
                "lastName": "Last Name",
                "type": "adult"
            }
        ],
        "cancellationPolicies": [
            {
                "from": "2024-10-16",
                "amount": 375
            }
        ],
        "status": "confirmed"
    }
}

Last updated