# Price Search

1. Price Search: This function allows users to search for prices by check-in and check-out dates. It supports both cached rates and real-time rates.

2. Default Settings: By default, the Lowest Price Search and Cache Rate Search will return prices based on two persons.

3. Cache Building: If you use the Lowest Price Search or Cache Rate Search to build your cache for the next 30 days, you should invoke the API 30 times as the cache is on a daily basis.

4. Multiple Hotel Queries: For queries involving multiple hotels, it is recommended to use the Cache Rate Search.

5. PriceSearch Step: At this step, DidaAPI only returns the price for one room. If you search for more than one room (for example, 3 rooms), and need to calculate the total price for the order, use the price for one room multiplied by the number of rooms. At the PriceConfirm step, the total price for all rooms is returned. For a detailed explanation, please contact your dedicated API manager.

6. Multiple Rooms: Dida API supports single requests with multiple rooms of the same room type (same RatePlanID). However, it does not support single requests with multiple rooms of different room types.

7. During the PriceSearch phase, Dida does not support different rooms with varying numbers of occupants. For requests involving 2 or more rooms, each with different occupancy counts, it is not recommended to split these into separate requests to Dida, as this may result in a scenario where one order is successful while others fail, potentially leading to disputed transactions. It is advised to instead submit a single request, combining the maximum number of adults and children for different room configurations. Please note that because some hotels may not accommodate child guests, the counts for adult and child occupants should be handled separately. It is important to accurately input the counts for adult and child occupants. Please refer to the examples provided in the table below for specific guidance. This is a critical point, and if you have any questions, please reach out to your dedicated API account manager.


Example:
Scene Room1 Room2 RealTimeOccupancy
1 1 Adult 2 Adult 2 Adult
2 1 Adult 1 Adult 1 Child 1 Adult 1 Child
3 2 Adult 1 Adult 1 Child 2 Adult 1 Child
4 2 Adult 1 Child 2 Adult 2 Child 2 Adult 2 Child

8. Regarding meal plans, Dida provides two fields to obtain information about the meal types. The first is BreakfastType, which in the Response only indicates the inclusion or exclusion of breakfast without specifying the number of meal servings. For clients developing the Dida API, this field is not recommended. The second is MealType, which not only represents the specific meal plan in the Response but is also accompanied by MealAmount to denote the number of meal servings included. If you utilize MealType, it is imperative to also parse the MealAmount field to avoid any interpretation errors or future disputes regarding the number of meal servings.Furthermore, in theory, the quantity of MealAmount is always less than or equal to the number of guests staying. For instance, if two guests are staying and MealAmount is 0, it means that breakfast is not included. A MealAmount of 1 indicates that only one breakfast serving is included, which is a scenario where some hotels may include one complimentary breakfast for two guests, and any additional servings would need to be purchased separately upon arrival. A MealAmount of 2 signifies that both guests have breakfast included in their stay.

9. Regarding the IncludedFeeList and ExcludedFeeList:

  • In theory, the taxes and fees displayed within the IncludedFeeList node are included in the TotalPrice node, such as Tax and Fee, which need to be paid by the guest along with the TotalPrice. The taxes and fees displayed in the ExcludedFeeList node are not included in the TotalPrice node, such as Resort Fee, City Fee, etc., which are generally paid directly to the hotel by the guest upon arrival.
  • The information in IncludedFee and ExcludedFee generally comes from the Dida supplier or the hotel, and not every hotel will include these two nodes.
POST
https://apiint.didatravel.com/api/rate/pricesearch?$format=json

This API only returns the lowest price for each hotel at a specified destination. It is recommended to use this function for hotel price caching.


  • To get the lowest hotel price by a specified destination filter, you might need to perform city mapping on your end. However, this is generally not recommended due to the complexity of city mapping compared to hotel mapping. Instead, you can use the function "Get Hotel Lowest Price by Specified Hotel ID List" after you've completed hotel mapping. To do this, get the Dida hotel ID list by your city code and then input them in the "HotelIDList" filter. This method allows you to bypass city mapping and eliminates the need to download Dida's City/Destination info.
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "CheckInDate": "2023-08-26",
    "CheckOutDate": "2023-08-27",
    "Destination": {
        "CityCode": "602651"
    },
    "LowestPriceOnly": true,
    "Nationality": "CN",
    "Currency": "CNY"
}
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <Destination CityCode="602651" />
    <CheckInDate>2023-08-26</CheckInDate>
    <CheckOutDate>2023-08-27</CheckOutDate>
    <Nationality>CN</Nationality>
    <LowestPriceOnly>true</LowestPriceOnly>
    <Currency>CNY</Currency>
</PriceSearchRequest>

  • Get hotel Lowest price by specified hotel id list.
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "CheckInDate": "2023-08-23",
    "CheckOutDate": "2023-08-24",
    "HotelIDList": [5982,11,7017,239133,1672],
    "LowestPriceOnly": true,
    "Nationality": "CN",
    "Currency": "USD"
}
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>5982</HotelID>
        <HotelID>11</HotelID>
        <HotelID>7017</HotelID>
        <HotelID>239133</HotelID>
        <HotelID>1672</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-23</CheckInDate>
    <CheckOutDate>2023-08-24</CheckOutDate>
    <Nationality>CN</Nationality>
    <LowestPriceOnly>true</LowestPriceOnly>
    <Currency>USD</Currency>
</PriceSearchRequest>
In the following example, the code parameters inside are modifiable.
Use the following method to test API:
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "CheckInDate": "2023-08-23",
    "CheckOutDate": "2023-08-24",
    "HotelIDList": [5982,11,7017,239133,1672],
    "LowestPriceOnly": true,
    "Nationality": "CN",
    "Currency": "USD"
}
In the following example, the code parameters inside are modifiable.
Use the following method to test API:
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>5982</HotelID>
        <HotelID>11</HotelID>
        <HotelID>7017</HotelID>
        <HotelID>239133</HotelID>
        <HotelID>1672</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-23</CheckInDate>
    <CheckOutDate>2023-08-24</CheckOutDate>
    <Nationality>CN</Nationality>
    <LowestPriceOnly>true</LowestPriceOnly>
    <Currency>USD</Currency>
</PriceSearchRequest>



  • This API is recommended for searching prices across multiple hotels. It retrieves cached rates for efficiency. However, please note that it should not be used for more than 50 hotels at a time due to performance considerations.
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "HotelIDList": [76458,1250,512,251448,146962],
    "CheckInDate": "2023-08-01",
    "CheckOutDate": "2023-08-02",
    "IsRealTime": {
        "Value": false,
        "RoomCount": 1
    },
    "Currency": "USD",
    "Nationality": "CN"
}
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>76458</HotelID>
        <HotelID>1250</HotelID>
        <HotelID>512</HotelID>
        <HotelID>251448</HotelID>
        <HotelID>146962</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-01</CheckInDate>
    <CheckOutDate>2023-08-02</CheckOutDate>
    <Nationality>CN</Nationality>
    <IsRealTime RoomCount="1">false</IsRealTime>
    <Currency>USD</Currency>
</PriceSearchRequest>

  • This API allows you to retrieve the cached rate for a specific, single hotel.
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "HotelIDList": [76458],
    "CheckInDate": "2023-08-01",
    "CheckOutDate": "2023-08-02",
    "IsRealTime": {
        "Value": false,
        "RoomCount": 1
    },
    "Currency": "USD",
    "Nationality": "CN"
}
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>76458</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-01</CheckInDate>
    <CheckOutDate>2023-08-02</CheckOutDate>
    <Nationality>CN</Nationality>
    <IsRealTime RoomCount="1">false</IsRealTime>
    <Currency>USD</Currency>
</PriceSearchRequest>
In the following example, the code parameters inside are modifiable.
Use the following method to test API:
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "HotelIDList": [76458],
    "CheckInDate": "2023-08-01",
    "CheckOutDate": "2023-08-02",
    "IsRealTime": {
        "Value": false,
        "RoomCount": 1
    },
    "Currency": "USD",
    "Nationality": "CN"
}
In the following example, the code parameters inside are modifiable.
Use the following method to test API:
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>76458</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-01</CheckInDate>
    <CheckOutDate>2023-08-02</CheckOutDate>
    <Nationality>CN</Nationality>
    <IsRealTime RoomCount="1">false</IsRealTime>
    <Currency>USD</Currency>
</PriceSearchRequest>



  • Multiple Hotels: This API allows you to retrieve the most current rates for multiple hotels. It is particularly useful when you need the most up-to-date pricing information. If you need to get real-time rates for multiple hotels, you should contact Dida. They can provide further assistance and guidance to ensure you get the most accurate and current rates.
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "HotelIDList": [
        76458,1250,512,251448,146962
    ],
    "CheckInDate": "2023-08-01",
    "CheckOutDate": "2023-08-02",
    "IsRealTime": {
        "Value": true,
        "RoomCount": 1
    },
    "RealTimeOccupancy": {
        "AdultCount": 2,
        "ChildCount": 0,
        "ChildAgeDetails": []
    },
    "Currency": "USD",
    "Nationality": "CN"
}
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>76458</HotelID>
        <HotelID>1250</HotelID>
        <HotelID>512</HotelID>
        <HotelID>251448</HotelID>
        <HotelID>146962</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-01</CheckInDate>
    <CheckOutDate>2023-08-02</CheckOutDate>
    <Nationality>CN</Nationality>
    <IsRealTime RoomCount="1">true</IsRealTime>
    <RealTimeOccupancy AdultCount="2" ChildCount="0">
        <ChildAgeDetails />
    </RealTimeOccupancy>
    <Currency>USD</Currency>
</PriceSearchRequest>

  • Single Hotel: This API is specifically designed for retrieving the most up-to-date rates for a single hotel. It's recommended to use this function when you're searching for rates for individual hotels as it provides the most current and accurate pricing information.
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "HotelIDList": [
        512
    ],
    "CheckInDate": "2023-08-01",
    "CheckOutDate": "2023-08-02",
    "IsRealTime": {
        "Value": true,
        "RoomCount": 1
    },
    "RealTimeOccupancy": {
        "AdultCount": 2,
        "ChildCount": 0,
        "ChildAgeDetails": []
    },
    "Currency": "USD",
    "Nationality": "CN"
}
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>512</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-01</CheckInDate>
    <CheckOutDate>2023-08-02</CheckOutDate>
    <Nationality>CN</Nationality>
    <IsRealTime RoomCount="1">true</IsRealTime>
    <RealTimeOccupancy AdultCount="2" ChildCount="0">
        <ChildAgeDetails />
    </RealTimeOccupancy>
    <Currency>USD</Currency>
</PriceSearchRequest>

  • If there are children in the number of people staying, please refer to the following code example. Please note that Dida theoretically does not impose any restrictions on the age of children, supporting children as young as 0 years old. If there is a quote returned, it indicates that the children of the age you sent in the Request are supported for check-in.
{
	"Header": {
		"ClientID": "DidaApiTestID",
		"LicenseKey": "TestKey"
	},
	"HotelIDList": [512],
	"CheckInDate": "2023-08-01",
	"CheckOutDate": "2023-08-02",
	"IsRealTime": {
		"Value": true,
		"RoomCount": 1
	},
	"RealTimeOccupancy": {
		"AdultCount": 2,
		"ChildCount": 2,
		"ChildAgeDetails": [1, 2]
	},
	"Currency": "USD",
	"Nationality": "CN"
}
<PriceSearchRequest>
    <Header>
        <ClientID>DidaApiTestID</ClientID>
        <LicenseKey>TestKey</LicenseKey>
    </Header>
    <HotelIDList>
        <HotelID>512</HotelID>
    </HotelIDList>
    <CheckInDate>2023-08-01</CheckInDate>
    <CheckOutDate>2023-08-02</CheckOutDate>
    <Nationality>CN</Nationality>
    <IsRealTime RoomCount="1">true</IsRealTime>
    <RealTimeOccupancy AdultCount="2" ChildCount="2">
        <ChildAgeDetails>
			<ChildAge>1</ChildAge>
            <ChildAge>2</ChildAge>
		</ChildAgeDetails>
    </RealTimeOccupancy>
    <Currency>USD</Currency>
</PriceSearchRequest>


In the following example, the code parameters inside are modifiable.
Use the following method to test API:
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "HotelIDList": [
        512
    ],
    "CheckInDate": "2023-08-01",
    "CheckOutDate": "2023-08-02",
    "IsRealTime": {
        "Value": true,
        "RoomCount": 1
    },
    "RealTimeOccupancy": {
        "AdultCount": 2,
        "ChildCount": 2,
		"ChildAgeDetails": [1, 2]
    },
    "Currency": "USD",
    "Nationality": "CN"
}
In the following example, the code parameters inside are modifiable.
Use the following method to test API:
<PriceSearchRequest>
  <Header>
    <ClientID>DidaApiTestID</ClientID>
    <LicenseKey>TestKey</LicenseKey>
  </Header>
  <HotelIDList>
    <HotelID>512</HotelID>
  </HotelIDList>
  <CheckInDate>2023-08-01</CheckInDate>
  <CheckOutDate>2023-08-02</CheckOutDate>
  <Nationality>CN</Nationality>
  <IsRealTime RoomCount="1">true</IsRealTime>
  <RealTimeOccupancy AdultCount="2" ChildCount="2">
     <ChildAgeDetails>
			<ChildAge>1</ChildAge>
            <ChildAge>2</ChildAge>
		</ChildAgeDetails>
  </RealTimeOccupancy>
  <Currency>USD</Currency>
</PriceSearchRequest>
   [
    {
        "name": "Header",
        "description": "Client authentication info",
        "children": [
            {
                "name": "ClientID",
                "description": "Client ID"
            },
            {
                "name": "LicenseKey",
                "description": "Client password"
            }
        ]
    },
    {
        "name": "Destination",
        "description": "Search by destination ID. It can only be applied together with LowestPriceOnly=true. HotelIDList filter will be disable while this provided.",
        "children": [
            {
                "name": "CityCode",
                "description": "Region code"
            }
        ]
    },
    {
        "name": "HotelIDList",
        "description": "HotelID list. Supports multiple hotel search. By default only cache search is allowed. If realtime search is required, please contact us."
    },
    {
        "name": "CheckInDate",
        "description": "Check-indate"
    },
    {
        "name": "CheckOutDate",
        "description": "Check-outdate"
    },
    {
        "name": "Nationality",
        "description": "ISO 3166-1 alpha-2, two-letter region codes. CN, US for example. Default CN if not provided"
    },
    {
        "name": "LowestPriceOnly",
        "description": "Returns lowest price foreach hotel only"
    },
    {
        "name": "IsRealTime",
        "description": "If true, realtime rates are returned",
        "children": [
            {
                "name": "RoomCount",
                "description": "Room count. This is a room count filter. 4 is the default maximun value. If you need a value more than 4 please contact Dida, otherwise you will get an &#39;Incorrect room count.&#39; error. This is a filter for inventory, only a single room price return in the response, not total price."
            },
            {
                "name": "Value",
                "description": ""
            }
        ]
    },
    {
        "name": "RealTimeOccupancy",
        "description": "Realtime occupancy. Applied when IsRealTime is true. The occupancy field pertains only to the distribution of guests within each room, not across all rooms. If you need to adjust the guest distribution for each room, you can do so in the next step - Price Confirm.",
        "children": [
            {
                "name": "ChildAgeDetails",
                "description": "Child age list. No age limit. If there is rate return in the response that means you input is valid for supplier/hotel"
            },
            {
                "name": "AdultCount",
                "description": "Adult count"
            },
            {
                "name": "ChildCount",
                "description": "Child count"
            }
        ]
    },
    {
        "name": "Currency",
        "description": "Price currency"
    }
]
Request Parameters
Header HeaderType
Client authentication infoHeaderType
Destination PriceSearchRequestDestination
Search by destination ID. It can only be applied together with LowestPriceOnly=true. HotelIDList filter will be disable while this provided.PriceSearchRequestDestination
HotelIDList List<Int32> HotelID list. Supports multiple hotel search. By default only cache search is allowed. If realtime search is required, please contact us.List<Int32>
CheckInDate DateTime Check-indateDateTime
CheckOutDate DateTime Check-outdateDateTime
Nationality String ISO 3166-1 alpha-2, two-letter region codes. CN, US for example. Default CN if not providedString
LowestPriceOnly Boolean Returns lowest price foreach hotel onlyBoolean
IsRealTime PriceSearchRequestIsRealTime
If true, realtime rates are returnedPriceSearchRequestIsRealTime
RealTimeOccupancy PriceSearchRequestRealTimeOccupancy
Realtime occupancy. Applied when IsRealTime is true. The occupancy field pertains only to the distribution of guests within each room, not across all rooms. If you need to adjust the guest distribution for each room, you can do so in the next step - Price Confirm.PriceSearchRequestRealTimeOccupancy
Currency String Price currencyString
Request Sample
{
    "Header": {
        "ClientID": "DidaApiTestID",
        "LicenseKey": "TestKey"
    },
    "HotelIDList": [
        512
    ],
    "CheckInDate": "2023-08-01",
    "CheckOutDate": "2023-08-02",
    "IsRealTime": {
        "Value": true,
        "RoomCount": 1
    },
    "RealTimeOccupancy": {
        "AdultCount": 2,
        "ChildCount": 0,
        "ChildAgeDetails": []
    },
    "Currency": "USD",
    "Nationality": "CN"
}
Request Sample
<PriceSearchRequest>
  <Header>
    <ClientID>DidaApiTestID</ClientID>
    <LicenseKey>TestKey</LicenseKey>
  </Header>
  <HotelIDList>
    <HotelID>512</HotelID>
  </HotelIDList>
  <CheckInDate>2023-08-01</CheckInDate>
  <CheckOutDate>2023-08-02</CheckOutDate>
  <Nationality>CN</Nationality>
  <IsRealTime RoomCount="1">true</IsRealTime>
  <RealTimeOccupancy AdultCount="2" ChildCount="0">
    <ChildAgeDetails />
  </RealTimeOccupancy>
  <Currency>USD</Currency>
</PriceSearchRequest>
   [
    {
        "name": "Error",
        "description": "",
        "children": [
            {
                "name": "Code",
                "description": "Error code"
            },
            {
                "name": "Message",
                "description": "Error message"
            }
        ]
    },
    {
        "name": "Success",
        "description": "",
        "children": [
            {
                "name": "PriceDetails",
                "description": "Pricedetails",
                "children": [
                    {
                        "name": "CheckInDate",
                        "description": "Check-indate"
                    },
                    {
                        "name": "CheckOutDate",
                        "description": "Check-outdate"
                    },
                    {
                        "name": "HotelList",
                        "description": "HotelinfoCollection",
                        "children": [
                            {
                                "name": "HotelID",
                                "description": "Hotel ID"
                            },
                            {
                                "name": "HotelName",
                                "description": "Hotel Name"
                            },
                            {
                                "name": "Destination",
                                "description": "Hotel destination",
                                "children": [
                                    {
                                        "name": "CityCode",
                                        "description": "Citycode"
                                    }
                                ]
                            },
                            {
                                "name": "TotalPrice",
                                "description": "Price for this RatePlan"
                            },
                            {
                                "name": "TotalSupplement",
                                "description": "Obsolete"
                            },
                            {
                                "name": "TotalPriceWithoutSupplement",
                                "description": "Obsolete"
                            },
                            {
                                "name": "LowestPrice",
                                "description": "Hotel lowest price",
                                "children": [
                                    {
                                        "name": "Currency",
                                        "description": "Lowest price currency"
                                    },
                                    {
                                        "name": "RatePlanID",
                                        "description": "RateplanID"
                                    },
                                    {
                                        "name": "Value",
                                        "description": "Lowest price"
                                    }
                                ]
                            },
                            {
                                "name": "RatePlanList",
                                "description": "Rateplan Collection",
                                "children": [
                                    {
                                        "name": "RoomOccupancy",
                                        "description": "Populated from request&#39;s RealTimeOccupancy node",
                                        "children": [
                                            {
                                                "name": "ChildAgeDetails",
                                                "description": ""
                                            },
                                            {
                                                "name": "RoomNum",
                                                "description": "Room num. Always start from 1."
                                            },
                                            {
                                                "name": "AdultCount",
                                                "description": ""
                                            },
                                            {
                                                "name": "ChildCount",
                                                "description": ""
                                            }
                                        ]
                                    },
                                    {
                                        "name": "RoomTypeID",
                                        "description": "RoomTypeID"
                                    },
                                    {
                                        "name": "RoomName",
                                        "description": "RoomName"
                                    },
                                    {
                                        "name": "RoomName_CN",
                                        "description": "RoomName in chinese"
                                    },
                                    {
                                        "name": "RatePlanID",
                                        "description": "RateplanID"
                                    },
                                    {
                                        "name": "RecommendIndex",
                                        "description": "RecommendIndex = 1, this rateplan rate is recommended"
                                    },
                                    {
                                        "name": "RatePlanName",
                                        "description": "Rateplan name"
                                    },
                                    {
                                        "name": "BedType",
                                        "description": "BedtypeID"
                                    },
                                    {
                                        "name": "BreakfastType",
                                        "description": "BreakfasttypeID. Kind of obsolete. MealType is recommended. Please check MealType in Content API."
                                    },
                                    {
                                        "name": "MaxOccupancy",
                                        "description": "Obsolete"
                                    },
                                    {
                                        "name": "InventoryCount",
                                        "description": "Inventory count. The inventory count is for reference only and not 100% accurate"
                                    },
                                    {
                                        "name": "RoomStatus",
                                        "description": "Obsolete"
                                    },
                                    {
                                        "name": "Currency",
                                        "description": "Currency"
                                    },
                                    {
                                        "name": "TotalPrice",
                                        "description": "Total booking price"
                                    },
                                    {
                                        "name": "PriceWithoutSupplement",
                                        "description": "Obsolete"
                                    },
                                    {
                                        "name": "PriceList",
                                        "description": "PriceinfoCollection",
                                        "children": [
                                            {
                                                "name": "Price",
                                                "description": "Price"
                                            },
                                            {
                                                "name": "InventoryCount",
                                                "description": "Inventory count. The inventory count is for reference only and not 100% accurate"
                                            },
                                            {
                                                "name": "StayDate",
                                                "description": "Staydate"
                                            },
                                            {
                                                "name": "MealType",
                                                "description": "MealType, please check MealType in content api"
                                            },
                                            {
                                                "name": "MealAmount",
                                                "description": "Regarding meal plans, Dida provides two fields to obtain information about the meal types. The first is BreakfastType, which in the Response only indicates the inclusion or exclusion of breakfast without specifying the number of meal servings. For clients developing the Dida API, this field is not recommended. The second is MealType, which not only represents the specific meal plan in the Response but is also accompanied by MealAmount to denote the number of meal servings included. If you utilize MealType, it is imperative to also parse the MealAmount field to avoid any interpretation errors or future disputes regarding the number of meal servings.Furthermore, in theory, the quantity of MealAmount is always less than or equal to the number of guests staying. For instance, if two guests are staying and MealAmount is 0, it means that breakfast is not included. A MealAmount of 1 indicates that only one breakfast serving is included, which is a scenario where some hotels may include one complimentary breakfast for two guests, and any additional servings would need to be purchased separately upon arrival. A MealAmount of 2 signifies that both guests have breakfast included in their stay."
                                            }
                                        ]
                                    },
                                    {
                                        "name": "RatePlanCancellationPolicyList",
                                        "description": "Cancellation policy info Collection",
                                        "children": [
                                            {
                                                "name": "FromDate",
                                                "description": "Date when the cancellation rule is applied (please be kindly note all the cancelation are based on Beijing time)"
                                            },
                                            {
                                                "name": "Amount",
                                                "description": "Cancellation penalty amount"
                                            }
                                        ]
                                    },
                                    {
                                        "name": "StandardOccupancy",
                                        "description": "Obsolete."
                                    },
                                    {
                                        "name": "IsOnRequest",
                                        "description": "Is on-request price"
                                    },
                                    {
                                        "name": "IncludedFeeList",
                                        "description": "Included tax and fee list. For reference only. ",
                                        "children": [
                                            {
                                                "name": "FeeTypeName",
                                                "description": "Fee type name"
                                            },
                                            {
                                                "name": "Currency",
                                                "description": "Fee Currency"
                                            },
                                            {
                                                "name": "Amount",
                                                "description": "Fee Amount"
                                            }
                                        ]
                                    },
                                    {
                                        "name": "ExcludedFeeList",
                                        "description": "Excluded tax and fee list. For reference only. Guest should pay them at property.",
                                        "children": [
                                            {
                                                "name": "FeeTypeName",
                                                "description": "Fee Type Name"
                                            },
                                            {
                                                "name": "Currency",
                                                "description": "Fee Currency"
                                            },
                                            {
                                                "name": "Amount",
                                                "description": "Fee Amount"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "name": "LowestRateRatePlanInfo",
                                "description": "Lowest prie rateplan info",
                                "children": [
                                    {
                                        "name": "RatePlanID",
                                        "description": "RateplanID"
                                    },
                                    {
                                        "name": "BedType",
                                        "description": "BedtypeID"
                                    },
                                    {
                                        "name": "Breakfast",
                                        "description": "Lowest price breakfast type ID"
                                    },
                                    {
                                        "name": "MaxOccupancy",
                                        "description": "Obsolete"
                                    },
                                    {
                                        "name": "RatePlanName",
                                        "description": "Rateplan name"
                                    },
                                    {
                                        "name": "StandardOccupancy",
                                        "description": "Obsolete"
                                    },
                                    {
                                        "name": "RoomTypeID",
                                        "description": "RoomTypeID"
                                    },
                                    {
                                        "name": "RatePlanCancellationPolicyList",
                                        "description": "CancellationpolicyinfoCollection",
                                        "children": [
                                            {
                                                "name": "FromDate",
                                                "description": "Date when the cancellation rule is applied (please be kindly note all the cancelation are based on Beijing time)"
                                            },
                                            {
                                                "name": "Amount",
                                                "description": "Cancellation penalty amount"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    }
]
Response Parameters
Error ErrorType
ErrorType
Success PriceSearchResponseSuccess
PriceSearchResponseSuccess
Response Sample
{
    "Success": {
        "PriceDetails": {
            "CheckOutDate": "2023-08-02 00:00:00",
            "CheckInDate": "2023-08-01 00:00:00",
            "HotelList": [
                {
                    "HotelID": 512,
                    "Destination": {
                        "CityCode": "179900"
                    },
                    "RatePlanList": [
                        {
                            "TotalPrice": 299.13,
                            "RoomStatus": 1,
                            "BreakfastType": 1,
                            "BedType": 2,
                            "RoomOccupancy": {
                                "ChildCount": 0,
                                "AdultCount": 2,
                                "RoomNum": 1
                            },
                            "PriceList": [
                                {
                                    "StayDate": "2023-08-01 00:00:00",
                                    "Price": 299.13,
                                    "MealAmount": 0,
                                    "MealType": 1
                                }
                            ],
                            "RatePlanCancellationPolicyList": [
                                {
                                    "Amount": 299.13,
                                    "FromDate": "2023-07-29T14:00:00+08:00"
                                }
                            ],
                            "StandardOccupancy": 2,
                            "InventoryCount": 5,
                            "MaxOccupancy": 2,
                            "Currency": "USD",
                            "RatePlanName": "Double Standard Floor 19-30F (28-31sqm)",
                            "RatePlanID": "1494507509528725623",
                            "RoomName": "Queen Room"
                        },
                        {
                            "TotalPrice": 299.97,
                            "RoomStatus": 1,
                            "BreakfastType": 1,
                            "BedType": 2,
                            "RoomOccupancy": {
                                "ChildCount": 0,
                                "AdultCount": 2,
                                "RoomNum": 1
                            },
                            "PriceList": [
                                {
                                    "StayDate": "2023-08-01 00:00:00",
                                    "Price": 299.97,
                                    "MealAmount": 0,
                                    "MealType": 1
                                }
                            ],
                            "RatePlanCancellationPolicyList": [
                                {
                                    "Amount": 299.97,
                                    "FromDate": "2023-07-28T00:00:00+08:00"
                                }
                            ],
                            "StandardOccupancy": 2,
                            "InventoryCount": 99,
                            "MaxOccupancy": 2,
                            "Currency": "USD",
                            "RatePlanName": "Double room",
                            "RatePlanID": "577357982090047961",
                            "RoomName": "Double Room"
                        },
                        {
                            "TotalPrice": 307.01,
                            "RoomStatus": 1,
                            "BreakfastType": 1,
                            "BedType": 3,
                            "RoomOccupancy": {
                                "ChildCount": 0,
                                "AdultCount": 2,
                                "RoomNum": 1
                            },
                            "PriceList": [
                                {
                                    "StayDate": "2023-08-01 00:00:00",
                                    "Price": 307.01,
                                    "MealAmount": 0,
                                    "MealType": 1
                                }
                            ],
                            "RatePlanCancellationPolicyList": [
                                {
                                    "Amount": 307.01,
                                    "FromDate": "2023-07-29T14:00:00+08:00"
                                }
                            ],
                            "StandardOccupancy": 2,
                            "InventoryCount": 16,
                            "MaxOccupancy": 2,
                            "Currency": "USD",
                            "RatePlanName": "Twin Standard Floor 19-30F (37sqm)",
                            "RatePlanID": "-1640554577150004365",
                            "RoomName": "Twin Room"
                        }
                    ],
                    "HotelName": "Cerulean Tower Tokyu Hotel"
                }
            ]
        }
    }
}
Response Sample
<PriceSearchResponse>
  <Success>
    <PriceDetails>
      <CheckInDate>2023-08-01</CheckInDate>
      <CheckOutDate>2023-08-02</CheckOutDate>
      <HotelList>
        <Hotel>
          <HotelID>512</HotelID>
          <HotelName>Cerulean Tower Tokyu Hotel</HotelName>
          <Destination CityCode="179900" />
          <RatePlanList>
            <RatePlan>
              <RoomOccupancy RoomNum="1" AdultCount="2" />
              <RoomName>Queen Room</RoomName>
              <RatePlanID>1494507509528725623</RatePlanID>
              <RatePlanName>Double Standard Floor 19-30F (28-31sqm)</RatePlanName>
              <BedType>2</BedType>
              <BreakfastType>1</BreakfastType>
              <MaxOccupancy>2</MaxOccupancy>
              <InventoryCount>5</InventoryCount>
              <RoomStatus>1</RoomStatus>
              <Currency>USD</Currency>
              <TotalPrice>299.13</TotalPrice>
              <PriceList>
                <PriceInfo>
                  <Price>299.13</Price>
                  <StayDate>2023-08-01</StayDate>
                  <MealType>1</MealType>
                  <MealAmount>0</MealAmount>
                </PriceInfo>
              </PriceList>
              <RatePlanCancellationPolicyList>
                <CancellationPolicy>
                  <FromDate>2023-07-29T14:00:00+08:00</FromDate>
                  <Amount>299.13</Amount>
                </CancellationPolicy>
              </RatePlanCancellationPolicyList>
              <StandardOccupancy>2</StandardOccupancy>
            </RatePlan>
            <RatePlan>
              <RoomOccupancy RoomNum="1" AdultCount="2" />
              <RoomName>Double Room</RoomName>
              <RatePlanID>577357982090047961</RatePlanID>
              <RatePlanName>Double room</RatePlanName>
              <BedType>2</BedType>
              <BreakfastType>1</BreakfastType>
              <MaxOccupancy>2</MaxOccupancy>
              <InventoryCount>99</InventoryCount>
              <RoomStatus>1</RoomStatus>
              <Currency>USD</Currency>
              <TotalPrice>299.97</TotalPrice>
              <PriceList>
                <PriceInfo>
                  <Price>299.97</Price>
                  <StayDate>2023-08-01</StayDate>
                  <MealType>1</MealType>
                  <MealAmount>0</MealAmount>
                </PriceInfo>
              </PriceList>
              <RatePlanCancellationPolicyList>
                <CancellationPolicy>
                  <FromDate>2023-07-28T00:00:00+08:00</FromDate>
                  <Amount>299.97</Amount>
                </CancellationPolicy>
              </RatePlanCancellationPolicyList>
              <StandardOccupancy>2</StandardOccupancy>
            </RatePlan>
            <RatePlan>
              <RoomOccupancy RoomNum="1" AdultCount="2" />
              <RoomName>King Room</RoomName>
              <RatePlanID>919428518517313278</RatePlanID>
              <RatePlanName>King Standard Floor 19-30F (34sqm)</RatePlanName>
              <BedType>2</BedType>
              <BreakfastType>1</BreakfastType>
              <MaxOccupancy>2</MaxOccupancy>
              <InventoryCount>16</InventoryCount>
              <RoomStatus>1</RoomStatus>
              <Currency>USD</Currency>
              <TotalPrice>307.01</TotalPrice>
              <PriceList>
                <PriceInfo>
                  <Price>307.01</Price>
                  <StayDate>2023-08-01</StayDate>
                  <MealType>1</MealType>
                  <MealAmount>0</MealAmount>
                </PriceInfo>
              </PriceList>
              <RatePlanCancellationPolicyList>
                <CancellationPolicy>
                  <FromDate>2023-07-29T14:00:00+08:00</FromDate>
                  <Amount>307.01</Amount>
                </CancellationPolicy>
              </RatePlanCancellationPolicyList>
              <StandardOccupancy>2</StandardOccupancy>
            </RatePlan>
            <RatePlan>
              <RoomOccupancy RoomNum="1" AdultCount="2" />
              <RoomName>Twin Room</RoomName>
              <RatePlanID>-1640554577150004365</RatePlanID>
              <RatePlanName>Twin Standard Floor 19-30F (37sqm)</RatePlanName>
              <BedType>3</BedType>
              <BreakfastType>1</BreakfastType>
              <MaxOccupancy>2</MaxOccupancy>
              <InventoryCount>16</InventoryCount>
              <RoomStatus>1</RoomStatus>
              <Currency>USD</Currency>
              <TotalPrice>307.01</TotalPrice>
              <PriceList>
                <PriceInfo>
                  <Price>307.01</Price>
                  <StayDate>2023-08-01</StayDate>
                  <MealType>1</MealType>
                  <MealAmount>0</MealAmount>
                </PriceInfo>
              </PriceList>
              <RatePlanCancellationPolicyList>
                <CancellationPolicy>
                  <FromDate>2023-07-29T14:00:00+08:00</FromDate>
                  <Amount>307.01</Amount>
                </CancellationPolicy>
              </RatePlanCancellationPolicyList>
              <StandardOccupancy>2</StandardOccupancy>
            </RatePlan>
          </RatePlanList>
        </Hotel>
      </HotelList>
    </PriceDetails>
  </Success>
</PriceSearchResponse>