API Test – DB.json Compatible

HTTP Status: 200

Request JSON:
{
    "RoomStays": [
        {
            "RoomTypes": [
                {
                    "RoomDescription": {
                        "Name": "Standard Room"
                    },
                    "NumberOfUnits": 1,
                    "RoomTypeCode": "4732"
                }
            ],
            "RatePlans": [
                {
                    "RatePlanCode": "1363",
                    "RatePlanName": "EP"
                }
            ],
            "GuestCounts": [
                {
                    "AgeQualifyingCode": "10",
                    "Count": 1
                },
                {
                    "AgeQualifyingCode": "8",
                    "Count": 0
                }
            ],
            "TimeSpan": {
                "Start": "2025-12-20",
                "End": "2025-12-22"
            },
            "RoomRates": [
                {
                    "Base": {
                        "AmountBeforeTax": 6000,
                        "AmountAfterTax": 6300
                    },
                    "EffectiveDate": "2025-12-20"
                },
                {
                    "Base": {
                        "AmountBeforeTax": 6000,
                        "AmountAfterTax": 6300
                    },
                    "EffectiveDate": "2025-12-21"
                }
            ],
            "Total": {
                "AmountBeforeTax": 12000,
                "AmountAfterTax": 12600
            }
        }
    ],
    "ResGuests": [
        {
            "Customer": {
                "PersonName": {
                    "NamePrefix": null,
                    "GivenName": "Mohammed",
                    "Surname": "Shamaseen"
                },
                "Telephone": {
                    "PhoneNumber": "+917098592718"
                },
                "Email": "shmaseen.jht@gmail.com",
                "Address": {
                    "CityName": "Wadi Rum Village",
                    "CountryName": "IN"
                }
            },
            "PrimaryIndicator": "1"
        }
    ],
    "ResGlobalInfo": {
        "UniqueID": {
            "ID": "EGS-TEST-1772751400"
        },
        "BasicPropertyInfo": {
            "HotelCode": "15157",
            "HotelName": "Hotel Pali"
        },
        "Source": {
            "RequestorID": {
                "ID": "EGLOBE",
                "Type": "ChannelManager"
            },
            "BookingChannel": {
                "Type": "OTA",
                "CompanyName": "Master Channel",
                "CompanyCode": "1006"
            }
        },
        "CreateDateTime": "2026-03-05T22:56:40",
        "ResStatus": "Commit",
        "TimeSpan": {
            "Start": "2025-12-20",
            "End": "2025-12-22"
        },
        "GuestCounts": [
            {
                "AgeQualifyingCode": "10",
                "Count": 1
            },
            {
                "AgeQualifyingCode": "8",
                "Count": 0
            }
        ],
        "Total": {
            "AmountBeforeTax": 12000,
            "AmountAfterTax": 12600,
            "CurrencyCode": "INR",
            "Taxes": {
                "Tax": {
                    "Amount": 600
                }
            }
        },
        "PaymentTypeInfo": {
            "PaymentType": "PayAtHotel"
        },
        "SpecialRequests": []
    }
}
Response:
{"success":true,"booking_uid":"EGS-TEST-1772751400","db_id":650,"amount_before_tax":6000}