文档中心 > API类目 > 飞猪酒店EBooking

alitrip.hotel.ebooking.hotel.contact.infos.query (查询酒店联系人信息)

酒店联系人

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
hid Number 可选 1922987554
  • 默认值:0
  • 酒店id

    响应参数

    名称 类型 示例值 描述
    result TopResultSet result result
    • └ error
    • Boolean
    • error
    • error
    • └ error_code
    • String
    • demo
    • errorCode
    • └ error_msg
    • String
    • demo
    • errorMsg
    • first_result
    • TopHotelBdContactMappingInfo
    • 1
    • firstResult
    • dept_finances
    • HotelContactDo []
    • 1
    • deptFinance
    • └ email
    • String
    • 1
    • email
    • └ mobile
    • String
    • 1
    • mobile
    • └ name
    • String
    • 1
    • name
    • └ tel
    • String
    • 1
    • tel
    • └ dept_id
    • String
    • 1
    • deptId
    • dept_its
    • HotelContactDo []
    • 1
    • deptIt
    • └ email
    • String
    • 1
    • email
    • └ mobile
    • String
    • 1
    • mobile
    • └ name
    • String
    • 1
    • name
    • └ tel
    • String
    • 1
    • tel
    • └ dept_id
    • String
    • 1
    • deptId
    • dept_managers
    • HotelContactDo []
    • 1
    • deptManager
    • └ email
    • String
    • 1
    • email
    • └ mobile
    • String
    • 1
    • mobile
    • └ name
    • String
    • 1
    • name
    • └ tel
    • String
    • 1
    • tel
    • └ dept_id
    • String
    • 1
    • deptId
    • dept_receptions
    • HotelContactDo []
    • 1
    • deptReception
    • └ email
    • String
    • 1
    • email
    • └ mobile
    • String
    • 1
    • mobile
    • └ name
    • String
    • 1
    • name
    • └ tel
    • String
    • 1
    • tel
    • └ dept_id
    • String
    • 1
    • deptId
    • dept_reserves
    • HotelContactDo []
    • 1
    • deptReserve
    • └ email
    • String
    • 1
    • email
    • └ mobile
    • String
    • 1
    • mobile
    • └ name
    • String
    • 1
    • name
    • └ tel
    • String
    • 1
    • tel
    • └ dept_id
    • String
    • 1
    • deptId
    • dept_sales
    • HotelContactDo []
    • 1
    • deptSale
    • └ email
    • String
    • 1
    • email
    • └ mobile
    • String
    • 1
    • mobile
    • └ name
    • String
    • 1
    • name
    • └ tel
    • String
    • 1
    • tel
    • └ dept_id
    • String
    • 1
    • deptId
    • └ gmt_create
    • Date
    • 1
    • gmtCreate
    • └ gmt_modified
    • Date
    • 1
    • gmtModified
    • └ hid
    • Number
    • 1
    • hid
    • └ hotel_name
    • String
    • 1
    • hotelName
    • └ id
    • Number
    • 1
    • id
    • └ is_valid
    • byte
    • 1
    • isValid
    • └ memo
    • String
    • 1
    • memo
    • notify_ivr
    • HotelNotifyDo
    • 1
    • notifyIvr
    • └ statue
    • Number
    • 1
    • statue
    • detail_d_o_s
    • HotelNotifyDetailDo []
    • 1
    • detailDOS
    • └ dept
    • String
    • 1
    • dept
    • └ end_hour
    • String
    • 1
    • endHour
    • └ is_all_day
    • Boolean
    • 1
    • isAllDay
    • └ mobile
    • String
    • 1
    • mobile
    • └ start_hour
    • String
    • 1
    • startHour
    • └ tel
    • String
    • 1
    • tel
    • └ seller_id
    • Number
    • 1
    • sellerId
    • └ seller_nick
    • String
    • 1
    • sellerNick
    • └ vendor
    • String
    • 1
    • vendor
    • └ has_next
    • Boolean
    • 1
    • hasNext
    • └ results
    • String []
    • 1
    • results
    • └ success
    • Boolean
    • false
    • success
    • └ total_results
    • Number
    • 1
    • totalResults
    • └ warn_message
    • String
    • 1
    • warnMessage

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlitripHotelEbookingHotelContactInfosQueryRequest req = new AlitripHotelEbookingHotelContactInfosQueryRequest();
    req.setHid(1922987554L);
    AlitripHotelEbookingHotelContactInfosQueryResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alitrip_hotel_ebooking_hotel_contact_infos_query_response>
        <result>
            <error>error</error>
            <error_code>demo</error_code>
            <error_msg>demo</error_msg>
            <first_result>
                <dept_finances>
                    <hotel_contact_do>
                        <email>1</email>
                        <mobile>1</mobile>
                        <name>1</name>
                        <tel>1</tel>
                        <dept_id>1</dept_id>
                    </hotel_contact_do>
                </dept_finances>
                <dept_its>
                    <hotel_contact_do>
                        <email>1</email>
                        <mobile>1</mobile>
                        <name>1</name>
                        <tel>1</tel>
                        <dept_id>1</dept_id>
                    </hotel_contact_do>
                </dept_its>
                <dept_managers>
                    <hotel_contact_do>
                        <email>1</email>
                        <mobile>1</mobile>
                        <name>1</name>
                        <tel>1</tel>
                        <dept_id>1</dept_id>
                    </hotel_contact_do>
                </dept_managers>
                <dept_receptions>
                    <hotel_contact_do>
                        <email>1</email>
                        <mobile>1</mobile>
                        <name>1</name>
                        <tel>1</tel>
                        <dept_id>1</dept_id>
                    </hotel_contact_do>
                </dept_receptions>
                <dept_reserves>
                    <hotel_contact_do>
                        <email>1</email>
                        <mobile>1</mobile>
                        <name>1</name>
                        <tel>1</tel>
                        <dept_id>1</dept_id>
                    </hotel_contact_do>
                </dept_reserves>
                <dept_sales>
                    <hotel_contact_do>
                        <email>1</email>
                        <mobile>1</mobile>
                        <name>1</name>
                        <tel>1</tel>
                        <dept_id>1</dept_id>
                    </hotel_contact_do>
                </dept_sales>
                <gmt_create>1</gmt_create>
                <gmt_modified>1</gmt_modified>
                <hid>1</hid>
                <hotel_name>1</hotel_name>
                <id>1</id>
                <is_valid>1</is_valid>
                <memo>1</memo>
                <notify_ivr>
                    <statue>1</statue>
                    <detail_d_o_s>
                        <hotel_notify_detail_do>
                            <dept>1</dept>
                            <end_hour>1</end_hour>
                            <is_all_day>1</is_all_day>
                            <mobile>1</mobile>
                            <start_hour>1</start_hour>
                            <tel>1</tel>
                        </hotel_notify_detail_do>
                    </detail_d_o_s>
                </notify_ivr>
                <seller_id>1</seller_id>
                <seller_nick>1</seller_nick>
                <vendor>1</vendor>
            </first_result>
            <has_next>1</has_next>
            <results>
                <string>1</string>
            </results>
            <success>false</success>
            <total_results>1</total_results>
            <warn_message>1</warn_message>
        </result>
    </alitrip_hotel_ebooking_hotel_contact_infos_query_response>

    异常示例

    • XML示例
    • JSON示例
    <error_response>
        <code>50</code>
        <msg>Remote service error</msg>
        <sub_code>isv.invalid-parameter</sub_code>
        <sub_msg>非法参数</sub_msg>
    </error_response>

    错误码解释

    错误码 错误描述 解决方案

    API工具

    如何获得此API

    FAQ

    返回
    顶部