menu

De-Dupe BlockRoomRequest

{
  "ResultIndex": "3",
  "HotelCode": "ALMF|DXB",
  "HotelName": "",
  "GuestNationality": "IN",
  "NoOfRooms": "2",
  "ClientReferenceNo": 0,
  "IsVoucherBooking": "true",
  "CategoryId": "2###ALMF|DXB",
  "EndUserIp": "123.1.1.1",
  "TokenId": "dbb0bc48-1202-4a01-bd55-4d283981ea80",
  "TraceId": "0ec2f6ef-8520-45bb-b308-5c17b4866fb7",
  "HotelRoomsDetails": [
    {
      "RoomIndex": 2,
      "RoomTypeCode": "SB|0|0|2",
      "RoomTypeName": "Single Room Standard Studio",
      "RatePlanCode": "001:ALM6:13911:S13678:17427:70423|1",
      "BedTypeCode": null,
      "SmokingPreference": 0,
      "Supplements": null,
      "Price": {
        "CurrencyCode": "INR",
        "RoomPrice": 10116.75,
        "Tax": 0,
        "ExtraGuestCharge": 0,
        "ChildCharge": 0,
        "OtherCharges": 0,
        "Discount": 620.93,
        "PublishedPrice": 10116.75,
        "PublishedPriceRoundedOff": 10117,
        "OfferedPrice": 10116.75,
        "OfferedPriceRoundedOff": 10117,
        "AgentCommission": 0,
        "AgentMarkUp": 1319.58,
        "TDS": 0
      }
      
    },
    {
      "RoomIndex": 8,
      "RoomTypeCode": "SB|0|0|2",
      "RoomTypeName": "Single Room Standard Studio",
      "RatePlanCode": "001:ALM6:13911:S13678:17427:70423|1",
      "BedTypeCode": null,
      "SmokingPreference": 0,
      "Supplements": null,
      "Price": {
        "CurrencyCode": "INR",
        "RoomPrice": 10116.75,
        "Tax": 0,
        "ExtraGuestCharge": 0,
        "ChildCharge": 0,
        "OtherCharges": 0,
        "Discount": 620.93,
        "PublishedPrice": 10116.75,
        "PublishedPriceRoundedOff": 10117,
        "OfferedPrice": 10116.75,
        "OfferedPriceRoundedOff": 10117,
        "AgentCommission": 0,
        "AgentMarkUp": 1319.58,
        "TDS": 0
      }
     
    }
  ]
}

De-Dupe BlockRoomResponse

{
  "BlockRoomResult": {
    "AvailabilityType": "Confirm",
    "TraceId": "0ec2f6ef-8520-45bb-b308-5c17b4866fb7",
    "ResponseStatus": 1,
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "IsPriceChanged": false,
    "IsCancellationPolicyChanged": false,
    "IsHotelPolicyChanged": false,
    "HotelRoomsDetails": [
      {
        "ChildCount": 0,
        "RequireAllPaxDetails": true,
        "RoomIndex": 2,
        "RoomTypeCode": "SB|0|0|2",
        "RoomTypeName": "Single Room Standard Studio",
        "RatePlanCode": "001:ALM6:13911:S13678:17427:70423|1",
        "InfoSource": "FixedCombination",
        "SequenceNo": "1G~~ALMF~2",
        "DayRates": [
          {
            "Amount": 3372.25,
            "Date": "2016-02-15T00:00:00"
          },
          {
            "Amount": 3372.25,
            "Date": "2016-02-16T00:00:00"
          },
          {
            "Amount": 3372.25,
            "Date": "2016-02-17T00:00:00"
          }
        ],
        "Price": {
          "CurrencyCode": "INR",
          "RoomPrice": 10116.75,
          "Tax": 0,
          "ExtraGuestCharge": 0,
          "ChildCharge": 0,
          "OtherCharges": 0,
          "Discount": 620.93,
          "PublishedPrice": 10116.75,
          "PublishedPriceRoundedOff": 10117,
          "OfferedPrice": 10116.75,
          "OfferedPriceRoundedOff": 10117,
          "AgentCommission": 0,
          "AgentMarkUp": 1319.58,
          "TDS": 0
        },
        "RoomPromotion": "Early Bird Offer",
        "Amenities": [
          "Full Breakfast"
        ],
        "SmokingPreference": "NoPreference",
        "BedTypes": [
          
        ],
        "Supplements": [
          
        ],
        "CancellationPolicies": [
          {
            "Charge": 8797,
            "ChargeType": 1,
            "Currency": "INR",
            "FromDate": "2015-07-14T00:00:00",
            "ToDate": "2016-02-10T00:00:00"
          },
          {
            "Charge": 100,
            "ChargeType": 2,
            "Currency": "INR",
            "FromDate": "2016-02-10T00:00:01",
            "ToDate": "2016-02-18T23:59:59"
          }
        ],
        "LastCancellationDate": "2015-07-13T00:00:00",
        "CancellationPolicy": "Single Room Standard Studio#^#INR 8797.00 will be charged, If cancelled between 14-Jul-2015 00:00:00 and 10-Feb-2016 00:00:00.|100.00% of total amount will be charged, If cancelled between 10-Feb-2016 00:00:01 and 18-Feb-2016 23:59:59.|#!#"
      },
      {
        "ChildCount": 0,
        "RequireAllPaxDetails": true,
        "RoomIndex": 8,
        "RoomTypeCode": "SB|0|0|2",
        "RoomTypeName": "Single Room Standard Studio",
        "RatePlanCode": "001:ALM6:13911:S13678:17427:70423|1",
        "InfoSource": "FixedCombination",
        "SequenceNo": "1G~~ALMF~2",
        "DayRates": [
          {
            "Amount": 3372.25,
            "Date": "2016-02-15T00:00:00"
          },
          {
            "Amount": 3372.25,
            "Date": "2016-02-16T00:00:00"
          },
          {
            "Amount": 3372.25,
            "Date": "2016-02-17T00:00:00"
          }
        ],
        "Price": {
          "CurrencyCode": "INR",
          "RoomPrice": 10116.75,
          "Tax": 0,
          "ExtraGuestCharge": 0,
          "ChildCharge": 0,
          "OtherCharges": 0,
          "Discount": 620.93,
          "PublishedPrice": 10116.75,
          "PublishedPriceRoundedOff": 10117,
          "OfferedPrice": 10116.75,
          "OfferedPriceRoundedOff": 10117,
          "AgentCommission": 0,
          "AgentMarkUp": 1319.58,
          "TDS": 0
        },
        "RoomPromotion": "Early Bird Offer",
        "Amenities": [
          "Full Breakfast"
        ],
        "SmokingPreference": "NoPreference",
        "BedTypes": [
          
        ],
        "Supplements": [
          
        ],
        "CancellationPolicies": [
          {
            "Charge": 8797,
            "ChargeType": 1,
            "Currency": "INR",
            "FromDate": "2015-07-14T00:00:00",
            "ToDate": "2016-02-10T00:00:00"
          },
          {
            "Charge": 100,
            "ChargeType": 2,
            "Currency": "INR",
            "FromDate": "2016-02-10T00:00:01",
            "ToDate": "2016-02-18T23:59:59"
          }
        ],
        "LastCancellationDate": "2015-07-13T00:00:00",
        "CancellationPolicy": "Single Room Standard Studio#^#INR 8797.00 will be charged, If cancelled between 14-Jul-2015 00:00:00 and 10-Feb-2016 00:00:00.|100.00% of total amount will be charged, If cancelled between 10-Feb-2016 00:00:01 and 18-Feb-2016 23:59:59.|#!#"
      }
    ]
  }
}