Sample Json

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

Block Room Request JSON
                                    {
                                        "EndUserIp": "*******",
                                        "ClientId": "*******",
                                        "UserName": "*******",
                                        "Password": "*******",
                                        "TraceId": 34072,
                                        "SrdvType": "MixAPI",
                                        "SrdvIndex": "15",
                                        "ResultIndex": "hsid2053730133-50350635",
                                        "HotelCode": "hsid2053730133-50350635",
                                        "HotelName": "Frazyone Hostel",
                                        "GuestNationality": "IN",
                                        "NoOfRooms": "1",
                                        "ClientReferenceNo": 0,
                                        "IsVoucherBooking": true,
                                        "HotelRoomsDetails": [
                                            {
                                                "ChildCount": 0,
                                                "RequireAllPaxDetails": false,
                                                "RoomId": "327387346_404514396_39983##1",
                                                "RoomStatus": "Active",
                                                "RoomIndex": "45srlkt0srlkt120699711",
                                                "RoomTypeCode": "45_0_120699711",
                                                "RoomTypeName": "Deluxe Double Room-1 King Bed - Package Deal",
                                                "RatePlan": "327387346_404514396_39983##1",
                                                "RatePlanCode": "327387346_404514396_39983##1",
                                                "InfoSource": "",
                                                "SequenceNo": "",
                                                "DayRates": [
                                                    {
                                                        "Amount": 575.2,
                                                        "Date": "2025-12-14"
                                                    }
                                                ],
                                                "SupplierPrice": "",
                                                "Price": {
                                                    "CurrencyCode": "INR",
                                                    "RoomPrice": 575.2,
                                                    "Tax": 0,
                                                    "ExtraGuestCharge": 0,
                                                    "ChildCharge": 0,
                                                    "OtherCharges": 0,
                                                    "Discount": 0,
                                                    "PublishedPrice": 575.2,
                                                    "PublishedPriceRoundedOff": 575.2,
                                                    "OfferedPrice": 575.2,
                                                    "OfferedPriceRoundedOff": 575.2,
                                                    "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": "Free WiFi",
                                                        "FontAwesome": "fa-wifi",
                                                        "IcoFont": "icofont-ui-check"
                                                    },
                                                    {
                                                        "Name": "Free parking",
                                                        "FontAwesome": "fa-car",
                                                        "IcoFont": "icofont-car-alt-4"
                                                    },
                                                    {
                                                        "Name": "Security",
                                                        "FontAwesome": "fa-shield",
                                                        "IcoFont": ""
                                                    },
                                                    {
                                                        "Name": "Clean Room And Environment",
                                                        "FontAwesome": "fa-bed",
                                                        "IcoFont": ""
                                                    }
                                                ],
                                                "SmokingPreference": "",
                                                "BedTypes": "Dormitory, Shared Room",
                                                "HotelSupplements": "ROOM ONLY",
                                                "LastCancellationDate": "",
                                                "CancellationPolicies": [
                                                    {
                                                                    "Charge": 563.4,
                                                                    "ChargeType": 1,
                                                                    "Currency": "INR",
                                                                    "FromDate": "2025-12-10T14:40",
                                                                    "ToDate": "2025-12-14T00:00"
                                                                },
                                                                {
                                                                    "Charge": 563.4,
                                                                    "ChargeType": 1,
                                                                    "Currency": "INR",
                                                                    "FromDate": "2025-12-14T00:00",
                                                                    "ToDate": "2025-12-15T23:59"
                                                                }
                                                ],
                                                "BedTypeCode": null,
                                                "Supplements": null
                                            }
                                        ]
                                    }

                                
Block Room Response JSON
                                    {
                                        "BlockRoomResult": {
                                            "Error": {
                                                "ErrorCode": 0,
                                                "ErrorMessage": ""
                                            },
                                            "AvailabilityType": "Confirm",
                                            "TraceId": 34072,
                                            "ResponseStatus": 1,
                                            "GSTAllowed": false,
                                            "IsPackageDetailsMandatory": false,
                                            "IsPackageFare": false,
                                            "IsPriceChanged": false,
                                            "IsCancellationPolicyChanged": false,
                                            "IsHotelPolicyChanged": false,
                                            "HotelNorms": "",
                                            "HotelName": "Frazyone Hostel",
                                            "AddressLine1": "2/86A",
                                            "AddressLine2": "2/86A,Lalita Park, Laxmi Nagar Delhi 92.",
                                            "City": "New Delhi",
                                            "State": "Delhi",
                                            "PinCode": "110092",
                                            "CountryName": "India",
                                            "HotelContactNo": "",
                                            "StarRating": 2,
                                            "HotelPolicyDetail": "",
                                            "Latitude": "28.63",
                                            "Longitude": "77.28",
                                            "BookingAllowedForRoamer": false,
                                            "HotelRoomsDetails": [
                                                {
                                                    "ChildCount": 0,
                                                    "RequireAllPaxDetails": false,
                                                    "RoomId": "327387346_404514396_39983##1",
                                                    "RoomStatus": "Active",
                                                    "RoomIndex": "45srlkt0srlkt120699711",
                                                    "RoomTypeCode": 1,
                                                    "RoomTypeName": "Shared Dormitory",
                                                    "RatePlanCode": "327387346_404514396_39983##1",
                                                    "RatePlan": "327387346_404514396_39983##1",
                                                    "InfoSource": "",
                                                    "SequenceNo": "",
                                                    "DayRates": [
                                                        {
                                                            "Date": "2025-12-14",
                                                            "Amount": 575.2
                                                        }
                                                    ],
                                                    "SupplierPrice": "",
                                                    "Price": {
                                                        "CurrencyCode": "INR",
                                                        "RoomPrice": 575.2,
                                                        "Tax": 0,
                                                        "ExtraGuestCharge": 0,
                                                        "ChildCharge": 0,
                                                        "OtherCharges": 0,
                                                        "Discount": 0,
                                                        "PublishedPrice": 575.2,
                                                        "PublishedPriceRoundedOff": 575.2,
                                                        "OfferedPrice": 575.2,
                                                        "OfferedPriceRoundedOff": 575.2,
                                                        "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": "Free WiFi",
                                                            "FontAwesome": "fa-wifi",
                                                            "IcoFont": "icofont-ui-check"
                                                        },
                                                        {
                                                            "Name": "Security",
                                                            "FontAwesome": "fa-shield",
                                                            "IcoFont": ""
                                                        },
                                                        {
                                                            "Name": "Clean Room And Environment",
                                                            "FontAwesome": "fa-bed",
                                                            "IcoFont": ""
                                                        },
                                                        {
                                                            "Name": "Clean Washroom",
                                                            "FontAwesome": "fa-bath",
                                                            "IcoFont": "icofont-bathtub"
                                                        }
                                                    ],
                                                    "SmokingPreference": "",
                                                    "BedTypes": "Dormitory, Shared Room",
                                                    "HotelSupplements": "",
                                                    "LastCancellationDate": "",
                                                    "IsPassportMandatory": false,
                                                    "IsPANMandatory": true,
                                                    "FullRefundAllowed": false,
                                                    "CancellationPolicies": [
                                                        {
                                                            "Charge": 563.4,
                                                            "ChargeType": 1,
                                                            "Currency": "INR",
                                                            "FromDate": "2025-12-10T14:40",
                                                            "ToDate": "2025-12-14T00:00"
                                                        },
                                                        {
                                                            "Charge": 563.4,
                                                            "ChargeType": 1,
                                                            "Currency": "INR",
                                                            "FromDate": "2025-12-14T00:00",
                                                            "ToDate": "2025-12-15T23:59"
                                                        }
                                                    ],
                                                    "CancellationPolicy": "",
                                                    "Inclusion": [
                                                        "Free WiFi"
                                                    ]
                                                }
                                            ]
                                        }
                                    }