Sample Json

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

Book 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
                                                }
                                            },
                                            "HotelPassenger": [
                                                {
                                                    "Title": "Mr",
                                                    "FirstName": "MD Rana",
                                                    "MiddleName": null,
                                                    "LastName": "HASAN",
                                                    "Phoneno": "1234567899",
                                                    "Email": "example@gmail.com",
                                                    "PaxType": "1",
                                                    "LeadPassenger": true,
                                                    "PassportNo": null,
                                                    "PassportIssueDate": null,
                                                    "PassportExpDate": null,
                                                    "PAN": "EXVPR5555M",
                                                    "GSTCompanyAddress": "A152 Ashok Nagar",
                                                    "GSTCompanyContactNumber": "1234567890",
                                                    "GSTCompanyName": "Test company",
                                                    "GSTNumber": "09XXXXXXXXXZ3",
                                                    "GSTCompanyEmail": "email@gmail.com"
                                                }
                                            ],
                                            "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
                                        }
                                    ]
                                }
                            
Book Room Response JSON
                               {
                                "BookResult": {
                                    "Error": {
                                        "ErrorCode": 0,
                                        "ErrorMessage": ""
                                    },
                                    "VoucherStatus": true,
                                    "ResponseStatus": 1,
                                    "TraceId": 34072,
                                    "Status": "Confirmed",
                                    "HotelBookingStatus": "Confirmed",
                                    "InvoiceNumber": "",
                                    "ConfirmationNo": "TJS206501794071",
                                    "BookingRefNo": "TJS206501794071",
                                    "BookingId": 685,
                                    "IsPriceChanged": false,
                                    "IsCancellationPolicyChanged": false
                                }
                            }