Sample Json
https://hotel.srdvtest.com/v8/rest/BlockRoom
Block Room Request JSON
{ "ResultIndex": "hsid2177281494-15399140", "HotelCode": "hsid2177281494-15399140", "HotelName": "Hotel Royal Garden", "GuestNationality": "IN", "NoOfRooms": "1", "ClientReferenceNo": 0, "IsVoucherBooking": true, "HotelRoomsDetails": [ { "ChildCount": 0, "RequireAllPaxDetails": false, "RoomId": "200302460_201820678_37316--1", "RoomStatus": "Active", "RoomIndex": "48srlkt2srlkt6184386", "RoomTypeCode": "48_2_6184386", "RoomTypeName": "Deluxe Double Room-1 Double Bed", "RatePlan": "200302460_201820678_37316--1", "RatePlanCode": "200302460_201820678_37316--1", "InfoSource": "", "SequenceNo": "", "DayRates": [ { "Amount": 3416.79, "Date": "2024-12-24" }, { "Amount": 3416.79, "Date": "2024-12-25" } ], "SupplierPrice": "", "Price": { "CurrencyCode": "INR", "RoomPrice": 6833.58, "Tax": 0, "ExtraGuestCharge": 0, "ChildCharge": 0, "OtherCharges": 0, "Discount": 0, "PublishedPrice": 6833.58, "PublishedPriceRoundedOff": 6833.58, "OfferedPrice": 6833.58, "OfferedPriceRoundedOff": 6833.58, "AgentCommission": 0, "AgentMarkUp": 0, "ServiceTax": 0, "TDS": 0, "ServiceCharge": 0, "TotalGSTAmount": 0, "GST": { "CGSTAmount": 0, "CGSTRate": 0, "CessAmount": 0, "CessRate": 0, "IGSTAmount": 0, "IGSTRate": 0, "SGSTAmount": 0, "SGSTRate": 0, "TaxableAmount": 0 } }, "RoomPromotion": "", "Amenities": [ { "Name": "Breakfast buffet", "FontAwesome": "fa-cutlery", "IcoFont": "icofont-food-cart" }, { "Name": "Free parking", "FontAwesome": "fa-car", "IcoFont": "icofont-car-alt-4" }, { "Name": "Free WiFi", "FontAwesome": "fa-wifi", "IcoFont": "icofont-ui-check" }, { "Name": "Security", "FontAwesome": "fa-shield", "IcoFont": "" } ], "SmokingPreference": "0", "BedTypes": "Deluxe, Double", "HotelSupplements": "BREAKFAST", "LastCancellationDate": "", "CancellationPolicies": [ { "Charge": 6786.38, "ChargeType": 1, "Currency": "INR", "FromDate": "2024-12-23T19:12", "ToDate": "2024-12-24T00:00" }, { "Charge": 6786.38, "ChargeType": 1, "Currency": "INR", "FromDate": "2024-12-24T00:00", "ToDate": "2024-12-26T23:59" } ], "BedTypeCode": null, "Supplements": null } ], "SrdvType": "MixAPI", "SrdvIndex": "15", "TraceId": 113542, "EndUserIp": "1.1.1.1", "ClientId": "******", "UserName": "******", "Password": "******" }
Block Room Response JSON
{ "BlockRoomResult": { "Error": { "ErrorCode": 0, "ErrorMessage": "" }, "AvailabilityType": "Confirm", "TraceId": 113542, "ResponseStatus": 1, "GSTAllowed": false, "IsPackageDetailsMandatory": false, "IsPackageFare": false, "IsPriceChanged": false, "IsCancellationPolicyChanged": false, "IsHotelPolicyChanged": false, "HotelNorms": "", "HotelName": "Hotel Royal Garden", "AddressLine1": "163 A, Park Street", "AddressLine2": "Btwn Seven Pt & Mallick Bazar Crsng", "City": "Kolkata", "State": "West Bengal", "PinCode": "700017", "CountryName": "India", "HotelContactNo": "91-33-2284 1153", "StarRating": 3, "HotelPolicyDetail": "", "Latitude": "22.545774", "Longitude": "88.36263", "BookingAllowedForRoamer": false, "HotelRoomsDetails": [ { "ChildCount": 0, "RequireAllPaxDetails": false, "RoomId": "200302460_201820678_37316--1", "RoomStatus": "Active", "RoomIndex": "48srlkt2srlkt6184386", "RoomTypeCode": 1, "RoomTypeName": "Deluxe Double Room-1 Double Bed", "RatePlanCode": "200302460_201820678_37316--1", "RatePlan": "200302460_201820678_37316--1", "InfoSource": "", "SequenceNo": "", "DayRates": [ { "Date": "2024-12-24", "Amount": 3416.79 }, { "Date": "2024-12-25", "Amount": 3416.79 } ], "SupplierPrice": "", "Price": { "CurrencyCode": "INR", "RoomPrice": 6833.58, "Tax": 0, "ExtraGuestCharge": 0, "ChildCharge": 0, "OtherCharges": 0, "Discount": 0, "PublishedPrice": 6833.58, "PublishedPriceRoundedOff": 6833.58, "OfferedPrice": 6833.58, "OfferedPriceRoundedOff": 6833.58, "AgentCommission": 0, "AgentMarkUp": 0, "ServiceTax": 0, "TDS": 0, "ServiceCharge": 0, "TotalGSTAmount": 0, "GST": { "CGSTAmount": 0, "CGSTRate": 0, "CessAmount": 0, "CessRate": 0, "IGSTAmount": 0, "IGSTRate": 0, "SGSTAmount": 0, "SGSTRate": 0, "TaxableAmount": 0 } }, "RoomPromotion": "", "Amenities": [ { "Name": "Breakfast buffet", "FontAwesome": "fa-cutlery", "IcoFont": "icofont-food-cart" }, { "Name": "Free parking", "FontAwesome": "fa-car", "IcoFont": "icofont-car-alt-4" }, { "Name": "Free WiFi", "FontAwesome": "fa-wifi", "IcoFont": "icofont-ui-check" }, { "Name": "Security", "FontAwesome": "fa-shield", "IcoFont": "" } ], "SmokingPreference": "", "BedTypes": "Deluxe, Double", "HotelSupplements": "", "LastCancellationDate": "", "IsPassportMandatory": false, "IsPANMandatory": false, "FullRefundAllowed": false, "CancellationPolicies": [ { "Charge": 6786.38, "ChargeType": 1, "Currency": "INR", "FromDate": "2024-12-23T19:12", "ToDate": "2024-12-24T00:00" }, { "Charge": 6786.38, "ChargeType": 1, "Currency": "INR", "FromDate": "2024-12-24T00:00", "ToDate": "2024-12-26T23:59" } ], "CancellationPolicy": "", "Inclusion": [ "Breakfast buffet", "Free parking", "Free WiFi" ] } ] } }