久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

預(yù)訂寶/getHotelSummaryList

來(lái)自站長(zhǎng)百科
跳轉(zhuǎn)至: 導(dǎo)航、? 搜索

預(yù)訂寶 | 系統(tǒng)設(shè)置 | 后臺(tái)管理 |二次開(kāi)發(fā)

getHotelSummaryList概述[ ]

  • 接口地址:http://api.yudingbao.net/v1.0/hotel/search.ashx?act=getHotelSummaryList
  • 動(dòng)作標(biāo)識(shí):getHotelSummaryList
  • 參數(shù):見(jiàn)參數(shù)說(shuō)明
  • 請(qǐng)求方式:GET
  • 響應(yīng)模式:JSON、JSONP、XML

注意:動(dòng)作標(biāo)識(shí)是大小寫(xiě)敏感的,請(qǐng)養(yǎng)成良好的編碼習(xí)慣!

參數(shù)說(shuō)明[ ]

參數(shù)名稱 參數(shù)類型 說(shuō)明
1 cityId string 城市編號(hào)??梢酝瑫r(shí)指定1-20個(gè)城市。
19 maxHotelCount int 每城市返回的酒店數(shù)量,最多為30個(gè),默認(rèn)為10個(gè)。
21 includeNonBooking bool 指示響應(yīng)結(jié)果是否應(yīng)當(dāng)包含不可預(yù)訂的酒店或房間。
該參數(shù)是可選的。默認(rèn)為true。
22 includeGuaranteeable bool 指示響應(yīng)結(jié)果是否應(yīng)當(dāng)包含需要擔(dān)保才能入住的酒店或房間。
該參數(shù)是可選的。默認(rèn)為true。

注意:無(wú)論指定何種排序方式,搜索結(jié)果總會(huì)將滿房率最高的酒店排在后面。

數(shù)據(jù)格式[ ]

  • 響應(yīng)頭:
    • Status:0為正常,非0表示處理請(qǐng)求時(shí)發(fā)生異常,通常是參數(shù)校驗(yàn)錯(cuò)誤;
    • Messages:當(dāng)Status為非0時(shí)該字段肯定包含一條或多條消息文本;
  • 響應(yīng)體:
    • 酒店信息中可能出現(xiàn)以下幾個(gè)置換符,調(diào)用數(shù)據(jù)時(shí)應(yīng)當(dāng)做相應(yīng)處理:
替代符標(biāo)簽 說(shuō)明
1 {$Website.Domain$} 應(yīng)當(dāng)替換為您自己網(wǎng)站的域名。
2 {$Website.Name$} 應(yīng)當(dāng)替換為您自己的網(wǎng)站名。
    • 本接口輸出的響應(yīng)體包含分頁(yè)數(shù)據(jù)、酒店列表數(shù)據(jù)和地標(biāo)數(shù)據(jù);
    • 分頁(yè)數(shù)據(jù)包含以下內(nèi)容:
  1. TotalItemCount:符合當(dāng)前查詢條件的項(xiàng)目總數(shù);
  2. TotalPageCount:分頁(yè)總數(shù),即最大頁(yè)碼;
  3. PageSize:頁(yè)面大小,即每頁(yè)顯示多少項(xiàng)目;
  4. PageIndex:當(dāng)前頁(yè)碼;
  5. SortType:排序方式,請(qǐng)參考上一節(jié)中的參數(shù)說(shuō)明。
    • 酒店列表是一個(gè)數(shù)組,關(guān)于酒店的數(shù)據(jù)格式請(qǐng)參考酒店基礎(chǔ)信息;
    • 地標(biāo)數(shù)據(jù)僅當(dāng)用戶按地圖搜索時(shí)有效:
  1. Landmark:查詢時(shí)使用的地標(biāo)名;
  2. Lng:查詢時(shí)使用的經(jīng)度值;
  3. Lat:查詢時(shí)使用的緯度值;
  4. Radius:查詢時(shí)使用的查詢半徑,以米為單位;
    • 下面表格說(shuō)明了房?jī)r(jià)排期數(shù)據(jù)的格式:
參數(shù)名稱 參數(shù)類型 說(shuō)明
本表格介紹的是“HotelSummaries.item”節(jié)點(diǎn)的數(shù)據(jù)格式。
1 CityCode string 城市編號(hào)。
2 CityName string 城市名稱。
3 CityPinyin string 城市拼音
4 Hotels array 酒店信息。
5 1 Code string 酒店編號(hào)。
2 Name string 酒店名稱。
3 Category 酒店星級(jí)。
酒店星級(jí)的數(shù)字定義如下:
0 —— 未評(píng)星
1 —— 一星級(jí)
2 —— 二星級(jí)
3 —— 三星級(jí)
4 —— 四星級(jí)
5 —— 五星級(jí)
4 Description string 酒店簡(jiǎn)介。
5 Thumbnail string 酒店縮略圖(小圖)。
6 Photo string 酒店照片(大圖)。
7 Room array 酒店房型,這里僅列出最優(yōu)惠的1個(gè)房型。
1 TypeId string 房型編號(hào)。
2 Name string 房型名稱。
3 Broadband int 寬帶服務(wù)。帶服務(wù)參數(shù)的定義如下:
0 —— 不限制。
1 —— 收費(fèi)。提供上網(wǎng)服務(wù),但要收費(fèi)。
2 —— 免費(fèi)。免費(fèi)提供上網(wǎng)服務(wù)。
4 RatePlan array 房型價(jià)格排期,這里僅列出該房型的第1個(gè)排期。
入住區(qū)間為:明天至大后天。
5 1 _id int 價(jià)格排期編號(hào)。
2 Name string 價(jià)格排期別名。
3 TotalPrice double 總價(jià)。
4 LowestPrice double 最低價(jià)。
5 HighestPrice double 最高價(jià)。
6 AveragePrice double 均價(jià)。
7 NonBookingPercentage double 滿房率。
8 IsGuaranteeable bool 指示當(dāng)前房?jī)r(jià)排期是否需要擔(dān)保。
    • 在搜索結(jié)果數(shù)據(jù)中還包含了一個(gè)Message屬性,該屬性沒(méi)有特定作用,可以忽略。

注意:本接口的XML響應(yīng)體的酒店數(shù)據(jù)之下的Landmarks節(jié)點(diǎn)的內(nèi)容帶有命名空間,解析時(shí)請(qǐng)注意!

對(duì)于數(shù)據(jù)格式的理解,請(qǐng)參考下列示例代碼中的XML響應(yīng)演示,其中每個(gè)字段都標(biāo)注了數(shù)據(jù)類型(日期類型在XML響應(yīng)中統(tǒng)一使用GMT格式,但被標(biāo)注為string,請(qǐng)開(kāi)發(fā)者注意)。

示例代碼[ ]

以下示例代碼是通過(guò)HTML表單實(shí)現(xiàn)了該接口的部分操作,您在開(kāi)發(fā)過(guò)程中應(yīng)當(dāng)使用自己的平臺(tái)語(yǔ)言來(lái)模擬這些操作以捕獲響應(yīng)體,然后對(duì)響應(yīng)體做出相應(yīng)的操作。

請(qǐng)求示例

<!--
    這是該接口的請(qǐng)求示例,該接口的訪問(wèn)類同于如下表單的提交,
     
    請(qǐng)注意:該表單使用控件的方法模擬了GET請(qǐng)求
-->
<form id="myForm" method="get" action="http://api.yudingbao.net/v1.0/hotel/search.ashx" target="_blank">
    <p>
        <!--動(dòng)作標(biāo)識(shí),注意動(dòng)作標(biāo)識(shí)是大小寫(xiě)敏感的-->
        <input id="act" name="act" value="getHotelSummaryList" type="text" />
    </p>
    <p>
        <!--城市編號(hào),0101是北京的編號(hào)-->
        <input id="cityId01" name="cityId" value="0101" type="text">
        <input id="cityId02" name="cityId" value="0201" type="text">
        <!--入住日期-->
        <input id="maxHotelCount" name="maxHotelCount" value="3" type="text">
    </p>
    <p>
        <!--指定響應(yīng)格式為XML,這里以XML為例-->
        <input id="format" name="format" value="xml" type="text" />
        <!--指定響應(yīng)體應(yīng)當(dāng)是已格式化的,便于閱讀代碼,在生產(chǎn)環(huán)境中應(yīng)當(dāng)將該值設(shè)置為false-->
        <input id="indent" name="indent" value="true" type="text" />
        <!--產(chǎn)品編號(hào)。在我的賬戶-分銷(xiāo)產(chǎn)品的應(yīng)用列表中可以找到該參數(shù)的值。-->
        <input id="aid" name="aid" value="78663" type="text" />
        <!--接口密鑰。在我的賬戶-分銷(xiāo)產(chǎn)品的應(yīng)用列表中可以找到該參數(shù)的值。-->
        <input id="key" name="key" value="0925ed633d24577eb3ffe13f00c55a4f9739f51a77eefb1dba29bb9568acddfd" type="text" />
         
        <!--應(yīng)用程序授權(quán)編號(hào)及公鑰,這是可選的-->
        <input id="sid" name="sid" value="" type="text">      
        <input id="sKey" name="sKey" value="" type="text">
    </p>
    <p>
        <input id="submit" name="submit" value="提交" type="submit">
    </p>
</form>


XML響應(yīng)

<!--XML響應(yīng),響應(yīng)體過(guò)大,已刪節(jié)-->
<?xml version="1.0" encoding="utf-8"?>
<HttpResponse>
    <Status type="number">0</Status>
    <Messages type="array">
        <item type="string">本操作占用服務(wù)器資源較多,建議您做本地緩存,緩存時(shí)間可設(shè)置為8小時(shí)以上。</item>
    </Messages>
    <ResponseBody type="object">
        <HotelSummaries type="array">
            <item type="object">
                <CityCode type="string">0101</CityCode>
                <CityName type="string">北京</CityName>
                <CityPinyin type="string">
                </CityPinyin>
                <Hotels type="array">
                    <item type="object">
                        <Code type="string">h010t10101047</Code>
                        <Name type="string">北京忘歸賓館(十八里店)</Name>
                        <Category type="number">2</Category>
                        <Description type="string">酒店開(kāi)業(yè)時(shí)間2004年5月18日,新近裝修時(shí)間2008年2月1日,樓高2 層,共有客房總數(shù)110間(套),標(biāo)間面積20平米。</Description>
                        <Thumbnail type="string">http://static.yudingbao.net/images/hotel/a/28/10101047_1_5_0_1.jpg</Thumbnail>
                        <Photo type="string">http://static.yudingbao.net/images/hotel/a/28/10101047_0_5_0_1.jpg</Photo>
                        <Room type="object">
                            <TypeId type="string">1017</TypeId>
                            <Name type="string">標(biāo)準(zhǔn)間</Name>
                            <Broadband type="number">1</Broadband>
                            <RatePlan type="object">
                                <_id type="number">16677</_id>
                                <Name type="string">不含早</Name>
                                <TotalPrice type="number">300.0</TotalPrice>
                                <LowestPrice type="number">150.0</LowestPrice>
                                <HighestPrice type="number">150.0</HighestPrice>
                                <AveragePrice type="number">150.0</AveragePrice>
                                <NonBookingPercentage type="number">0.0</NonBookingPercentage>
                                <IsGuaranteeable type="boolean">false</IsGuaranteeable>
                            </RatePlan>
                        </Room>
                    </item>
                    <item type="object">
                        <Code type="string">h010t10101039</Code>
                        <Name type="string">北京神舟商旅酒店(芍藥居店)</Name>
                        <Category type="number">0</Category>
                        <Description type="string">酒店開(kāi)業(yè)時(shí)間2008年5月,樓高5層,客房總數(shù)178間(套)。</Description>
                        <Thumbnail type="string">http://static.yudingbao.net/images/hotel/a/27/10101039_1_5_0_1.jpg</Thumbnail>
                        <Photo type="string">http://static.yudingbao.net/images/hotel/a/27/10101039_0_0_0_1.jpg</Photo>
                        <Room type="object">
                            <TypeId type="string">1018</TypeId>
                            <Name type="string">大床房</Name>
                            <Broadband type="number">1</Broadband>
                            <RatePlan type="object">
                                <_id type="number">17090</_id>
                                <Name type="string">不含早</Name>
                                <TotalPrice type="number">547.0</TotalPrice>
                                <LowestPrice type="number">249.0</LowestPrice>
                                <HighestPrice type="number">298.0</HighestPrice>
                                <AveragePrice type="number">273.5</AveragePrice>
                                <NonBookingPercentage type="number">0.0</NonBookingPercentage>
                                <IsGuaranteeable type="boolean">false</IsGuaranteeable>
                            </RatePlan>
                        </Room>
                    </item>
                    <item type="object">
                        <Code type="string">h010t10101037</Code>
                        <Name type="string">北京鳳龍青年酒店</Name>
                        <Category type="number">3</Category>
                        <Description type="string">酒店開(kāi)業(yè)時(shí)間1997年,新近裝修時(shí)間2007年10月,主樓高5層,附樓高1層,客房總數(shù)160間(套)。</Description>
                        <Thumbnail type="string">http://static.yudingbao.net/images/hotel/a/26/10101037_1_10_0_1.jpg</Thumbnail>
                        <Photo type="string">http://static.yudingbao.net/images/hotel/a/26/10101037_0_0_0_1.jpg</Photo>
                        <Room type="object">
                            <TypeId type="string">1018</TypeId>
                            <Name type="string">標(biāo)準(zhǔn)間B</Name>
                            <Broadband type="number">1</Broadband>
                            <RatePlan type="object">
                                <_id type="number">15477</_id>
                                <Name type="string">不含早</Name>
                                <TotalPrice type="number">356.0</TotalPrice>
                                <LowestPrice type="number">178.0</LowestPrice>
                                <HighestPrice type="number">178.0</HighestPrice>
                                <AveragePrice type="number">178.0</AveragePrice>
                                <NonBookingPercentage type="number">0.0</NonBookingPercentage>
                                <IsGuaranteeable type="boolean">false</IsGuaranteeable>
                            </RatePlan>
                        </Room>
                    </item>
                </Hotels>
            </item>
            <item type="object">
                <CityCode type="string">0201</CityCode>
                <CityName type="string">上海</CityName>
                <CityPinyin type="string">
                </CityPinyin>
                <Hotels type="array">
                    <item type="object">
                        <Code type="string">h010t50201292</Code>
                        <Name type="string">維也納國(guó)際酒店(上海歡樂(lè)谷店)</Name>
                        <Category type="number">3</Category>
                        <Description type="string">維也納國(guó)際酒店(上海歡樂(lè)谷店)是維也納酒店集團(tuán)旗下33家商務(wù)連鎖酒店之一,
裝修風(fēng)格融入歐陸風(fēng)情,充滿了歐化、藝術(shù)、經(jīng)典、溫馨的異風(fēng)情調(diào),其環(huán)保、藝術(shù)、安全、助眠、舒適、美食的經(jīng)營(yíng)特色,
在業(yè)內(nèi)同類酒店中脫穎而出,真正讓您花錢(qián)不多,很有面子,超越您的期待。2008年8月開(kāi)業(yè);維也納國(guó)際酒店(上海歡樂(lè)谷店)
占地近3萬(wàn)平方米,設(shè)有標(biāo)準(zhǔn)房,豪華房,行政套房458間。并設(shè)有中西自助餐,休閑中心、會(huì)議室、商務(wù)中心及大型停車(chē)場(chǎng)配套,
是集商務(wù)、住宿、休閑、餐飲、娛樂(lè)為一體的豪華精品商務(wù)酒店。</Description>
                        <Thumbnail type="string">http://static.yudingbao.net/images/hotel/a/33/50201292_1_5_0_2.jpg</Thumbnail>
                        <Photo type="string">http://static.yudingbao.net/images/hotel/a/33/50201292_0_5_0_2.jpg</Photo>
                        <Room type="object">
                            <TypeId type="string">0001</TypeId>
                            <Name type="string">標(biāo)準(zhǔn)單人房</Name>
                            <Broadband type="number">1</Broadband>
                            <RatePlan type="object">
                                <_id type="number">9064</_id>
                                <Name type="string">不含早</Name>
                                <TotalPrice type="number">436.0</TotalPrice>
                                <LowestPrice type="number">218.0</LowestPrice>
                                <HighestPrice type="number">218.0</HighestPrice>
                                <AveragePrice type="number">218.0</AveragePrice>
                                <NonBookingPercentage type="number">0.0</NonBookingPercentage>
                                <IsGuaranteeable type="boolean">false</IsGuaranteeable>
                            </RatePlan>
                        </Room>
                    </item>
                    <item type="object">
                        <Code type="string">h010t10201025</Code>
                        <Name type="string">上海南泉大酒店</Name>
                        <Category type="number">3</Category>
                        <Description type="string">酒店開(kāi)業(yè)時(shí)間2008 年3 月1 日,共有客房總數(shù)165 間。
上海南泉大酒店屬于庭院式花園連體別墅酒店,地處繁華的陸家嘴金融貿(mào)易區(qū),臨近新上海商業(yè)城,
在繁忙的高樓大廈邊鬧中取靜,環(huán)境優(yōu)雅,獨(dú)樹(shù)一幟。</Description>
                        <Thumbnail type="string">http://static.yudingbao.net/images/hotel/a/25/10201025_1_10_0_3.jpg</Thumbnail>
                        <Photo type="string">http://static.yudingbao.net/images/hotel/a/25/10201025_0_0_0_4.jpg</Photo>
                        <Room type="object">
                            <TypeId type="string">1017</TypeId>
                            <Name type="string">高級(jí)房</Name>
                            <Broadband type="number">1</Broadband>
                            <RatePlan type="object">
                                <_id type="number">25834</_id>
                                <Name type="string">含單早</Name>
                                <TotalPrice type="number">996.0</TotalPrice>
                                <LowestPrice type="number">498.0</LowestPrice>
                                <HighestPrice type="number">498.0</HighestPrice>
                                <AveragePrice type="number">498.0</AveragePrice>
                                <NonBookingPercentage type="number">0.0</NonBookingPercentage>
                                <IsGuaranteeable type="boolean">false</IsGuaranteeable>
                            </RatePlan>
                        </Room>
                    </item>
                    <item type="object">
                        <Code type="string">h010t10201347</Code>
                        <Name type="string">上海逸久賓館</Name>
                        <Category type="number">3</Category>
                        <Description type="string">賓館開(kāi)業(yè)時(shí)間2010年5月1日,樓高2層,客房總數(shù)33間(套)。</Description>
                        <Thumbnail type="string">http://static.yudingbao.net/images/hotel/a/51/10201347_1_6_0_1.jpg</Thumbnail>
                        <Photo type="string">http://static.yudingbao.net/images/hotel/a/51/10201347_0_6_0_1.jpg</Photo>
                        <Room type="object">
                            <TypeId type="string">0002</TypeId>
                            <Name type="string">豪華標(biāo)準(zhǔn)房</Name>
                            <Broadband type="number">1</Broadband>
                            <RatePlan type="object">
                                <_id type="number">108595</_id>
                                <Name type="string">不含早</Name>
                                <TotalPrice type="number">320.0</TotalPrice>
                                <LowestPrice type="number">160.0</LowestPrice>
                                <HighestPrice type="number">160.0</HighestPrice>
                                <AveragePrice type="number">160.0</AveragePrice>
                                <NonBookingPercentage type="number">0.0</NonBookingPercentage>
                                <IsGuaranteeable type="boolean">false</IsGuaranteeable>
                            </RatePlan>
                        </Room>
                    </item>
                </Hotels>
            </item>
            <item type="object">
                <CityCode type="string">0301</CityCode>
                <CityName type="string">天津</CityName>
                <CityPinyin type="string">
                </CityPinyin>
                <Hotels type="array">
                    <item type="object">
                        <Code type="string">h010t40301024</Code>
                        <Name type="string">天津萬(wàn)麗泰達(dá)酒店</Name>
                        <Category type="number">5</Category>
                        <Description type="string">酒店開(kāi)業(yè)時(shí)間2004年6月28日開(kāi)業(yè),樓高17層,共有客房總數(shù)543間,標(biāo)間面積33平米左右。</Description>
                        <Thumbnail type="string">http://static.yudingbao.net/images/hotel/a/9/40301024_1_5_0_1.jpg</Thumbnail>
                        <Photo type="string">http://static.yudingbao.net/images/hotel/a/9/40301024_0_0_0_1.jpg</Photo>
                        <Room type="object">
                            <TypeId type="string">1024</TypeId>
                            <Name type="string">行政豪華間</Name>
                            <Broadband type="number">2</Broadband>
                            <RatePlan type="object">
                                <_id type="number">55202</_id>
                                <Name type="string">含雙早</Name>
                                <TotalPrice type="number">3680.0</TotalPrice>
                                <LowestPrice type="number">1840.0</LowestPrice>
                                <HighestPrice type="number">1840.0</HighestPrice>
                                <AveragePrice type="number">1840.0</AveragePrice>
                                <NonBookingPercentage type="number">0.0</NonBookingPercentage>
                                <IsGuaranteeable type="boolean">false</IsGuaranteeable>
                            </RatePlan>
                        </Room>
                    </item>
                </Hotels>
            </item>
        </HotelSummaries>
    </ResponseBody>
</HttpResponse>


JSON響應(yīng)

// Json響應(yīng),響應(yīng)體過(guò)大,已刪節(jié)
{
    "Status" : 0,
    "Messages" : ["本操作占用服務(wù)器資源較多,建議您做本地緩存,緩存時(shí)間可設(shè)置為8小時(shí)以上。"],
    "ResponseBody" : {
        "HotelSummaries" : [{
                "CityCode" : "0101",
                "CityName" : "北京",
                "CityPinyin" : "",
                "Hotels" : [{
                        "Code" : "h010t40101674",
                        "Name" : "北京廣電國(guó)際酒店",
                        "Category" : 4,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2008年,樓高14層,客房總數(shù)241間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/29/40101674_1_5_0_2.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/29/40101674_0_0_0_1.jpg",
                        "Room" : {
                            "TypeId" : "1025",
                            "Name" : "標(biāo)準(zhǔn)客房",
                            "Broadband" : 1,
                            "RatePlan" : {
                                "_id" : 16149,
                                "Name" : "不含早",
                                "TotalPrice" : 1116.0,
                                "LowestPrice" : 558.0,
                                "HighestPrice" : 558.0,
                                "AveragePrice" : 558.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t50501006",
                        "Name" : "北京華彬費(fèi)爾蒙酒店",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2009年,樓高25層,共有客房總數(shù)222間(套),標(biāo)間面積40平米。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/33/50501006_1_5_0_2.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/33/50501006_0_5_0_2.jpg",
                        "Room" : {
                            "TypeId" : "0003",
                            "Name" : "金尊費(fèi)爾蒙房",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 93314,
                                "Name" : "含雙早",
                                "TotalPrice" : 6440.0,
                                "LowestPrice" : 3105.0,
                                "HighestPrice" : 3335.0,
                                "AveragePrice" : 3220.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t40101237",
                        "Name" : "北京龍山渡假村(昌平-十三陵水庫(kù))",
                        "Category" : 4,
                        "Description" : "北京龍山度假村位于昌平區(qū)東南,所在地緊鄰京密引水渠邊。
是北京市文物保護(hù)單位,周?chē)兄穆糜尉包c(diǎn)十三陵水庫(kù)、居庸關(guān)長(zhǎng)城、銀山塔林、莽山森林公園等,
交通便利,是集會(huì)議、休閑、度假、旅游為一體中式建筑風(fēng)格的度假村。度假村開(kāi)業(yè)時(shí)間2006年6月18日,
樓高2層,共有客房總數(shù)75間(套),標(biāo)間面積24平米。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/17/40101237_1_10_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/17/40101237_0_0_0_1.jpg",
                        "Room" : {
                            "TypeId" : "1017",
                            "Name" : "標(biāo)準(zhǔn)間",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 14977,
                                "Name" : "不含早",
                                "TotalPrice" : 576.0,
                                "LowestPrice" : 288.0,
                                "HighestPrice" : 288.0,
                                "AveragePrice" : 288.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }]
            }, {
                "CityCode" : "0201",
                "CityName" : "上海",
                "CityPinyin" : "",
                "Hotels" : [{
                        "Code" : "h010t10201347",
                        "Name" : "上海逸久賓館",
                        "Category" : 3,
                        "Description" : "賓館開(kāi)業(yè)時(shí)間2010年5月1日,樓高2層,客房總數(shù)33間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/51/10201347_1_6_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/51/10201347_0_6_0_1.jpg",
                        "Room" : {
                            "TypeId" : "0002",
                            "Name" : "豪華標(biāo)準(zhǔn)房",
                            "Broadband" : 1,
                            "RatePlan" : {
                                "_id" : 108595,
                                "Name" : "不含早",
                                "TotalPrice" : 320.0,
                                "LowestPrice" : 160.0,
                                "HighestPrice" : 160.0,
                                "AveragePrice" : 160.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t50201239",
                        "Name" : "上海新梅萬(wàn)豪行政公寓",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2006年8月16日,樓高38層,客房總數(shù)223間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/19/50201239_1_10_0_4.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/19/50201239_0_10_0_4.jpg",
                        "Room" : {
                            "TypeId" : "1017",
                            "Name" : "行政一室套房",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 89818,
                                "Name" : "含單早",
                                "TotalPrice" : 3634.0,
                                "LowestPrice" : 1817.0,
                                "HighestPrice" : 1817.0,
                                "AveragePrice" : 1817.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t10201082",
                        "Name" : "上海西藏大廈萬(wàn)怡酒店",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2009年2月,樓高23層,客房總數(shù)360間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/31/10201082_1_5_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/31/10201082_0_5_0_1.jpg",
                        "Room" : {
                            "TypeId" : "0001",
                            "Name" : "豪華房",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 9699,
                                "Name" : "含雙早",
                                "TotalPrice" : 3036.0,
                                "LowestPrice" : 1518.0,
                                "HighestPrice" : 1518.0,
                                "AveragePrice" : 1518.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }]
            }, {
                "CityCode" : "0301",
                "CityName" : "天津",
                "CityPinyin" : "",
                "Hotels" : [{
                        "Code" : "h010t40301024",
                        "Name" : "天津萬(wàn)麗泰達(dá)酒店",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2004年6月28日開(kāi)業(yè),樓高17層,共有客房總數(shù)543間,標(biāo)間面積33平米左右。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/9/40301024_1_5_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/9/40301024_0_0_0_1.jpg",
                        "Room" : {
                            "TypeId" : "1024",
                            "Name" : "行政豪華間",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 55202,
                                "Name" : "含雙早",
                                "TotalPrice" : 3680.0,
                                "LowestPrice" : 1840.0,
                                "HighestPrice" : 1840.0,
                                "AveragePrice" : 1840.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }]
            }]
    }
}


JSONP響應(yīng)

// JsonP響應(yīng),響應(yīng)體過(guò)大,已刪節(jié)
jsoncallback({
    "Status" : 0,
    "Messages" : ["本操作占用服務(wù)器資源較多,建議您做本地緩存,緩存時(shí)間可設(shè)置為8小時(shí)以上。"],
    "ResponseBody" : {
        "HotelSummaries" : [{
                "CityCode" : "0101",
                "CityName" : "北京",
                "CityPinyin" : "",
                "Hotels" : [{
                        "Code" : "h010t40101674",
                        "Name" : "北京廣電國(guó)際酒店",
                        "Category" : 4,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2008年,樓高14層,客房總數(shù)241間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/29/40101674_1_5_0_2.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/29/40101674_0_0_0_1.jpg",
                        "Room" : {
                            "TypeId" : "1025",
                            "Name" : "標(biāo)準(zhǔn)客房",
                            "Broadband" : 1,
                            "RatePlan" : {
                                "_id" : 16149,
                                "Name" : "不含早",
                                "TotalPrice" : 1116.0,
                                "LowestPrice" : 558.0,
                                "HighestPrice" : 558.0,
                                "AveragePrice" : 558.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t50501006",
                        "Name" : "北京華彬費(fèi)爾蒙酒店",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2009年,樓高25層,共有客房總數(shù)222間(套),標(biāo)間面積40平米。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/33/50501006_1_5_0_2.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/33/50501006_0_5_0_2.jpg",
                        "Room" : {
                            "TypeId" : "0003",
                            "Name" : "金尊費(fèi)爾蒙房",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 93314,
                                "Name" : "含雙早",
                                "TotalPrice" : 6440.0,
                                "LowestPrice" : 3105.0,
                                "HighestPrice" : 3335.0,
                                "AveragePrice" : 3220.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t40101237",
                        "Name" : "北京龍山渡假村(昌平-十三陵水庫(kù))",
                        "Category" : 4,
                        "Description" : "北京龍山度假村位于昌平區(qū)東南,所在地緊鄰京密引水渠邊。
是北京市文物保護(hù)單位,周?chē)兄穆糜尉包c(diǎn)十三陵水庫(kù)、居庸關(guān)長(zhǎng)城、銀山塔林、莽山森林公園等,交通便利,
是集會(huì)議、休閑、度假、旅游為一體中式建筑風(fēng)格的度假村。度假村開(kāi)業(yè)時(shí)間2006年6月18日,樓高2層,
共有客房總數(shù)75間(套),標(biāo)間面積24平米。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/17/40101237_1_10_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/17/40101237_0_0_0_1.jpg",
                        "Room" : {
                            "TypeId" : "1017",
                            "Name" : "標(biāo)準(zhǔn)間",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 14977,
                                "Name" : "不含早",
                                "TotalPrice" : 576.0,
                                "LowestPrice" : 288.0,
                                "HighestPrice" : 288.0,
                                "AveragePrice" : 288.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }]
            }, {
                "CityCode" : "0201",
                "CityName" : "上海",
                "CityPinyin" : "",
                "Hotels" : [{
                        "Code" : "h010t10201347",
                        "Name" : "上海逸久賓館",
                        "Category" : 3,
                        "Description" : "賓館開(kāi)業(yè)時(shí)間2010年5月1日,樓高2層,客房總數(shù)33間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/51/10201347_1_6_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/51/10201347_0_6_0_1.jpg",
                        "Room" : {
                            "TypeId" : "0002",
                            "Name" : "豪華標(biāo)準(zhǔn)房",
                            "Broadband" : 1,
                            "RatePlan" : {
                                "_id" : 108595,
                                "Name" : "不含早",
                                "TotalPrice" : 320.0,
                                "LowestPrice" : 160.0,
                                "HighestPrice" : 160.0,
                                "AveragePrice" : 160.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t50201239",
                        "Name" : "上海新梅萬(wàn)豪行政公寓",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2006年8月16日,樓高38層,客房總數(shù)223間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/19/50201239_1_10_0_4.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/19/50201239_0_10_0_4.jpg",
                        "Room" : {
                            "TypeId" : "1017",
                            "Name" : "行政一室套房",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 89818,
                                "Name" : "含單早",
                                "TotalPrice" : 3634.0,
                                "LowestPrice" : 1817.0,
                                "HighestPrice" : 1817.0,
                                "AveragePrice" : 1817.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }, {
                        "Code" : "h010t10201082",
                        "Name" : "上海西藏大廈萬(wàn)怡酒店",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2009年2月,樓高23層,客房總數(shù)360間(套)。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/31/10201082_1_5_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/31/10201082_0_5_0_1.jpg",
                        "Room" : {
                            "TypeId" : "0001",
                            "Name" : "豪華房",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 9699,
                                "Name" : "含雙早",
                                "TotalPrice" : 3036.0,
                                "LowestPrice" : 1518.0,
                                "HighestPrice" : 1518.0,
                                "AveragePrice" : 1518.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }]
            }, {
                "CityCode" : "0301",
                "CityName" : "天津",
                "CityPinyin" : "",
                "Hotels" : [{
                        "Code" : "h010t40301024",
                        "Name" : "天津萬(wàn)麗泰達(dá)酒店",
                        "Category" : 5,
                        "Description" : "酒店開(kāi)業(yè)時(shí)間2004年6月28日開(kāi)業(yè),樓高17層,共有客房總數(shù)543間,標(biāo)間面積33平米左右。",
                        "Thumbnail" : "http://static.yudingbao.net/images/hotel/a/9/40301024_1_5_0_1.jpg",
                        "Photo" : "http://static.yudingbao.net/images/hotel/a/9/40301024_0_0_0_1.jpg",
                        "Room" : {
                            "TypeId" : "1024",
                            "Name" : "行政豪華間",
                            "Broadband" : 2,
                            "RatePlan" : {
                                "_id" : 55202,
                                "Name" : "含雙早",
                                "TotalPrice" : 3680.0,
                                "LowestPrice" : 1840.0,
                                "HighestPrice" : 1840.0,
                                "AveragePrice" : 1840.0,
                                "NonBookingPercentage" : 0.0,
                                "IsGuaranteeable" : false
                            }
                        }
                    }]
            }]
    }
});


參考來(lái)源[ ]

預(yù)訂寶酒店預(yù)訂網(wǎng)站系統(tǒng)使用手冊(cè)導(dǎo)航

系統(tǒng)設(shè)置: 網(wǎng)站參數(shù)設(shè)置|圖片功能設(shè)置|會(huì)員參數(shù)設(shè)置|有問(wèn)必 答(論壇留言)設(shè)置|發(fā)布設(shè)置|首頁(yè)默認(rèn)城市設(shè)置
后臺(tái)管理 客服設(shè)置|權(quán)限組管理|系統(tǒng)賬戶設(shè)置|個(gè)人設(shè)置|酒店 資訊|實(shí)用工具|網(wǎng)址導(dǎo)航|首頁(yè)廣告|會(huì)展信息|單頁(yè)圖 文|發(fā)布模型管理|分類管理|推薦屬性管理|SEO關(guān)鍵字管理

評(píng)論管理|有問(wèn)必答|會(huì)員管理|等級(jí)管理|酒店訂單管理|手機(jī)推廣終端

二次開(kāi)發(fā) API總體架構(gòu)|鑒權(quán)方式|酒店地理信息API|酒店基礎(chǔ)信息API酒店房?jī)r(jià)與房態(tài)API|酒店訂單API|IP地址歸屬地查詢系統(tǒng)|手機(jī)短信API|getRegions|getCity

getLandmarks|getHotelIdList|getHotelInfo|getHotelChainBrands|getHotelList|getHotelRooms|getHotelSummaryList|getOrderRoomStatus|submitOrder getOrderInfo|sendRegisterSMS|sendGetpassSMS|sendPromoteRegisterSMS