menu

Book Request

{
  "ResultIndex": "2",
  "HotelCode": "ACR1|AMS",
  "HotelName": "Tulip Inn Amsterdam Riverside",
  "GuestNationality": "IN",
  "NoOfRooms": "1",
  "ClientReferenceNo": "0",
  "IsVoucherBooking": "false",
  "HotelRoomsDetails": [
    {
      "RoomIndex": "1",
      "RoomTypeCode": "SB|0|0|1",
      "RoomTypeName": "Standard Single",
      "RatePlanCode": "001:TUL5:18178:S17929:24963:98679|1",
      "BedTypeCode": null,
      "SmokingPreference": 0,
      "Supplements": null,
      "Price": {
        "CurrencyCode": "INR",
        "RoomPrice": "4620.0",
        "Tax": "0.0",
        "ExtraGuestCharge": "0.0",
        "ChildCharge": "0.0",
        "OtherCharges": "0.0",
        "Discount": "0.0",
        "PublishedPrice": "4620.0",
        "PublishedPriceRoundedOff": "4620",
        "OfferedPrice": "4620.0",
        "OfferedPriceRoundedOff": "4620",
        "AgentCommission": "0.0",
        "AgentMarkUp": "0.0",
        "TDS": "0.0"
      },
      "HotelPassenger": [
        {
          "Title": "mr",
          "FirstName": "GTA",
          "Middlename": null,
          "LastName": "Service",
          "Phoneno": null,
          "Email": null,
          "PaxType": 1,
          "LeadPassenger": true,
          "Age": 0,
          "PassportNo": null,
          "PassportIssueDate": “0001-01-01T00: 00: 00”,
          "PassportExpDate": “0001-01-01T00: 00: 00”,
	  "PAN": "EBQPS3333T"
        }
      ]
    }
  ],
  "EndUserIp": "123.1.1.1",
  "TokenId": "dbfa92dd-75cb-4948-8718-d5794f1d3211",
  "TraceId": "2809b183-7aa9-4f76-8df3-38011515693d"
}

Book Response in case of successful booking

{
  "BookResult": {
    "VoucherStatus": false,
    "ResponseStatus": 1,
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "TraceId": "2809b183-7aa9-4f76-8df3-38011515693d",
    "Status": 1,
    "HotelBookingStatus": "Confirmed",
    "ConfirmationNo": "LL8F392693 - 010/502365",
    "BookingRefNo": "502365",
    "BookingId": 1302607,
    "IsPriceChanged": false,
    "IsCancellationPolicyChanged": false
  }
}

Book Response in case of pricechange and/or cancellation policy change


{
  "BookResult": {
    "TraceId": "6cd3959d-9520-403b-96c1-9115397c1f66",
    "ResponseStatus": 1,
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "Status": 3,
    "HotelBookingStatus": "VerifyPrice",
    "Description": null,
    "BookingRefNo": null,
    "ConfirmationNo": null,
    "IsPriceChanged": true,
    "IsCancellationPolicyChanged": true,
    "HotelRoomsDetails": [
      {
        "RoomIndex": 1,
        "RoomTypeCode": "c/7In4Pn6QvJhULfXFk1Zw==|ST|CG-BAR RO/ST|221###",
        "RoomTypeName": "DOUBLE STANDARD",
        "RatePlanCode": "RO-E10",
        "RatePlanName": "ROOM ONLY",
        "InfoSource": "OpenCombination",
        "SequenceNo": "1",
        "DayRates": [
          {
            "Amount": 9723.89,
            "Date": "2014-12-28T00:00:00"
          },
          {
            "Amount": 9723.89,
            "Date": "2014-12-29T00:00:00"
          }
        ],
        "Price": {
          "CurrencyCode": "INR",
          "RoomPrice": 19447.79,
          "Tax": 0,
          "ExtraGuestCharge": 0,
          "ChildCharge": 0,
          "OtherCharges": 0,
          "Discount": 0,
          "PublishedPrice": 19447.79,
          "PublishedPriceRoundedOff": 19448,
          "OfferedPrice": 19447.79,
          "OfferedPriceRoundedOff": 19448,
          "AgentCommission": 0,
          "AgentMarkUp": 2536.67,
          "TDS": 0
        },
        "RoomPromotion": "Child discount | ",
        "Amenities": [
          
        ],
        "SmokingPreference": "NoPreference",
        "BedTypes": [
          
        ],
        "Supplements": [
          
        ],
        "SupplierSpecificData": "The child will stay in parents bed. Estimated total amount of taxes & fees for this booking:(5.50% payable on arrival)",
        "CancellationPolicies": [
          {
            "Charge": 8456,
            "ChargeType": 1,
            "Currency": "INR",
            "FromDate": "2014-12-24T14:00:00",
            "ToDate": "2014-12-24T23:59:59"
          },
          {
            "Charge": 100,
            "ChargeType": 2,
            "Currency": "INR",
            "FromDate": "2014-12-25T00:00:00",
            "ToDate": "2014-12-30T23:59:59"
          }
        ],
        "LastCancellationDate": "2014-12-23T14:00:00",
        "CancellationPolicy": "DOUBLE STANDARD#^#INR 8456.00 will be charged, If cancelled between 24-Dec-2014 14:00:00 and 24-Dec-2014 23:59:59.|100.00% of total amount will be charged, If cancelled between 25-Dec-2014 00:00:00 and 30-Dec-2014 23:59:59.|#!#"
      }
    ]
  }
}