alitrip.hotel.mipppbilling.infor.query (万豪订单信息详情查询接口)

通过外部订单号查询万豪具体订单信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tids String 可选 331091458294736830 tid
out_order_ids String 可选 32918798 外部订单号

响应参数

名称 类型 示例值 描述
result Result 接口返回result
  • module_list
  • Module []
  • 接口返回data
  • └ gmt_modified
  • Date
  • 1514858874000
  • 修改时间
  • └ currency_code
  • String
  • USD
  • 货币
  • └ gmt_create
  • Date
  • 1514858874000
  • 创建时间
  • └ room_price_total
  • Number
  • 286400
  • 总房费, 单位: 分
  • └ status
  • Number
  • 0
  • 订单状态
  • └ tax_and_fee_total
  • Number
  • 47676
  • 总税费, 单位: 分
  • └ incidental_total
  • Number
  • 2888037
  • 总杂费, 单位: 分
  • └ item_id
  • String
  • 21GA1034612
  • itemId
  • └ id
  • Number
  • 175
  • 主键
  • └ checkin
  • Date
  • 1426867200000
  • 入住日期
  • └ source
  • String
  • MRT
  • 判断订单来源,
  • └ marsha_code
  • String
  • BNAGO
  • 万豪CRS系统编码
  • └ confirmation_num
  • String
  • 73632111
  • 万豪订单确认号
  • └ tid
  • String
  • 1437228357776814
  • 订单号
  • └ reservation_status
  • String
  • C
  • 预订状态
  • └ checkout
  • Date
  • 1427731200000
  • 离店日期
  • └ pms_account_name
  • String
  • ELLEN/WOFFORD
  • PMS账号名称
  • └ total_price
  • Number
  • 3222113
  • 总费用, 单位: 分
  • └ settlement_total
  • Number
  • 3222113
  • 支付宝实际总结算费用, 单位: 分
  • └ settle_currency_code
  • String
  • HKD
  • 支付宝结算时的币种
  • └ settlement_time
  • Date
  • 1427731200000
  • 结算时间
  • └ disputed_date
  • Date
  • 1427731200000
  • 备注时间
  • └ disputed_remarks
  • String
  • ""
  • 备注信息
  • └ origin_settlement_total
  • Number
  • 3222113
  • 原商品币种的结算发起总金额
  • └ error_code
  • String
  • "isv.invalid-parameter"
  • 错误码
  • └ out_msg
  • String
  • "0"
  • 对外信息
  • └ out_code
  • String
  • ""
  • 对外错误码
  • └ error_msg
  • String
  • "参数错误"
  • 错误信息
  • └ success
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripHotelMipppbillingInforQueryRequest req = new AlitripHotelMipppbillingInforQueryRequest();
req.setTids("331091458294736830");
req.setOutOrderIds("32918798");
AlitripHotelMipppbillingInforQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_hotel_mipppbilling_infor_query_response>
    <result>
        <module_list>
            <module>
                <gmt_modified>1514858874000</gmt_modified>
                <currency_code>USD</currency_code>
                <gmt_create>1514858874000</gmt_create>
                <room_price_total>286400</room_price_total>
                <status>0</status>
                <tax_and_fee_total>47676</tax_and_fee_total>
                <incidental_total>2888037</incidental_total>
                <item_id>21GA1034612</item_id>
                <id>175</id>
                <checkin>1426867200000</checkin>
                <source>MRT</source>
                <marsha_code>BNAGO</marsha_code>
                <confirmation_num>73632111</confirmation_num>
                <tid>1437228357776814</tid>
                <reservation_status>C</reservation_status>
                <checkout>1427731200000</checkout>
                <pms_account_name>ELLEN/WOFFORD</pms_account_name>
                <total_price>3222113</total_price>
                <settlement_total>3222113</settlement_total>
                <settle_currency_code>HKD</settle_currency_code>
                <settlement_time>1427731200000</settlement_time>
                <disputed_date>1427731200000</disputed_date>
                <disputed_remarks>&quot;&quot;</disputed_remarks>
                <origin_settlement_total>3222113</origin_settlement_total>
            </module>
        </module_list>
        <error_code>&quot;isv.invalid-parameter&quot;</error_code>
        <out_msg>&quot;0&quot;</out_msg>
        <out_code>&quot;&quot;</out_code>
        <error_msg>&quot;参数错误&quot;</error_msg>
        <success>true</success>
    </result>
</alitrip_hotel_mipppbilling_infor_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

返回
顶部