Sample Json

https://hotel.srdvtest.com/v8/rest/Book

Book Room Request JSON
                                { 
   "ResultIndex": "65",
  "HotelCode": "341089",
  "HotelName": "The Manor",
   "GuestNationality":"IN",
   "NoOfRooms":"1",
   "ClientReferenceNo":0,
   "IsVoucherBooking":true,
   "HotelRoomsDetails":[ 
  {
    "ChildCount": 0,
    "RequireAllPaxDetails": false,
    "RoomId": 0,
    "RoomStatus": 0,
    "RoomIndex": 4,
    "RoomTypeCode": "211504640|4|1",
    "RoomTypeName": "Deluxe Room",
    "RatePlanCode": "230104963",
    "RatePlan": 13,
    "InfoSource": "FixedCombination",
    "SequenceNo": "EA~~341089~4",
    "DayRates": [
        {
            "Amount": 12325,
            "Date": "2019-09-28T00:00:00"
        }
    ],
    "SupplierPrice": null,
    "Price": {
        "CurrencyCode": "INR",
        "RoomPrice": 12325,
        "Tax": 3113.3,
        "ExtraGuestCharge": 0,
        "ChildCharge": 0,
        "OtherCharges": 26,
        "Discount": 2175,
        "PublishedPrice": 15464.3,
        "PublishedPriceRoundedOff": 15464,
        "OfferedPrice": 15464.3,
        "OfferedPriceRoundedOff": 15464,
        "AgentCommission": 0,
        "AgentMarkUp": 0,
        "ServiceTax": 4.68,
        "TDS": 0,
        "ServiceCharge": 0,
        "TotalGSTAmount": 4.68,
        "GST": {
            "CGSTAmount": 0,
            "CGSTRate": 0,
            "CessAmount": 0,
            "CessRate": 0,
            "IGSTAmount": 4.68,
            "IGSTRate": 18,
            "SGSTAmount": 0,
            "SGSTRate": 0,
            "TaxableAmount": 26
        }
    },
     "HotelPassenger":[ 
        { 
           "Title":"Mr",
           "FirstName":"FirstName",
           "MiddleName":null,
           "LastName":"LastName",
           "Phoneno":"9999999999",
           "Email":"test@email.com",
           "PaxType":"1",
           "LeadPassenger":true,
           "PassportNo":null,
           "PassportIssueDate":null,
           "PassportExpDate":null,
           "PAN": "XXXXXXXXXX"
        },
        { 
           "Title":"Mstr",
           "FirstName":"FirstName",
           "MiddleName":null,
           "LastName":"LastName",
           "Phoneno":"9999999999",
           "Email":"test@email.com",
           "PaxType":"2",
           "LeadPassenger":false,
           "Age": "8",
           "PassportNo":null,
           "PassportIssueDate":null,
           "PassportExpDate":null,
           "PAN": "XXXXXXXXXX"
        }
         ],
        "RoomPromotion": "Member’s exclusive price",
        "Amenities": [
            "Breakfast Buffet"
        ],
         "SmokingPreference":"0",
        "BedTypes": [
            {
                "BedTypeCode": "13",
                "BedTypeDescription": "1 double bed"
            }
        ],
         "HotelSupplements":[],
         "LastCancellationDate": "2019-09-17T00:00:00",
        "CancellationPolicies": [
            {
                "Charge": 100,
                "ChargeType": 2,
                "Currency": "INR",
                "FromDate": "2019-09-18T00:00:00",
                "ToDate": "2019-09-26T23:59:59"
            },
            {
                "Charge": 100,
                "ChargeType": 2,
                "Currency": "INR",
                "FromDate": "2019-09-27T00:00:00",
                "ToDate": "2019-09-29T23:59:59"
            },
            {
                "Charge": 100,
                "ChargeType": 2,
                "Currency": "INR",
                "FromDate": "2019-09-28T00:00:00",
                "ToDate": "2019-09-29T00:00:00"
            }
        ],
        "CancellationPolicy": "Deluxe Room#^#100.00% of total amount will be charged, If cancelled between 18-Sep-2019 00:00:00 and 26-Sep-2019 23:59:59.|100.00% of total amount will be charged, If cancelled between 27-Sep-2019 00:00:00 and 29-Sep-2019 23:59:59.|100.00% of total amount will be charged, If cancelled between 28-Sep-2019 00:00:00 and 29-Sep-2019 00:00:00.|#!#",
        "Inclusion": [
            "Breakfast Buffet"
        ],
         "BedTypeCode": "13",
         "Supplements":null
      }
   ],
  "ArrivalTime":"2019-09-28T00:00:00",
  "IsPackageFare":true,
  "SrdvType": "SingleTB",
  "SrdvIndex": "SrdvTB",
  "TraceId": "731",
  "EndUserIp": "1.1.1.1",
  "ClientId": "XXXX",
  "UserName": "XXXX",
  "Password": "XXXX"
}
Book Room Response JSON
                                { 
   "BookResult":{ 
      "Error":{ 
         "ErrorCode":0,
         "ErrorMessage":""
      },
      "VoucherStatus":true,
      "ResponseStatus":1,
      "TraceId":731,
      "Status":1,
      "HotelBookingStatus":"Confirmed",
      "InvoiceNumber":"XXXX",
      "ConfirmationNo":"XXXX",
      "BookingRefNo":"XXXX",
      "BookingId":"XXXX",
      "IsPriceChanged":false,
      "IsCancellationPolicyChanged":false
   }
}