alitrip.hotel.mipppunbilling.info.query (万豪信用住未结账订单)

查询万豪信用住未结账订单

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
log_date Date 可选 2017-12-04 00:00:00 查询日期

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • module_list
  • Module []
  • list
  • └ id
  • Number
  • 1
  • 主键
  • └ gmt_modified
  • Date
  • 1512369708000
  • 修改时间
  • └ checkin
  • Date
  • 1511366400000
  • 入住日期
  • └ gmt_create
  • Date
  • 1512369708000
  • 创建时间
  • └ hid
  • Number
  • 1269948055
  • 卖家酒店ID
  • └ out_hid
  • String
  • SWDPFLBU
  • 外部酒店ID
  • └ log_date
  • Date
  • 1512316800000
  • 记录日期
  • └ tid
  • String
  • 78167565033344130
  • 订单交易号
  • └ checkout
  • Date
  • 1511625600000
  • 离店日期
  • └ out_order_id
  • String
  • (MRT)666666666666
  • 外部订单id
  • └ error_code
  • String
  • "isv.invalid-parameter"
  • 错误码
  • └ out_msg
  • String
  • ""
  • 外部错误信息
  • └ out_code
  • String
  • "0"
  • 外部错误码
  • └ error_msg
  • String
  • ""
  • 错误信息
  • └ success
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripHotelMipppunbillingInfoQueryRequest req = new AlitripHotelMipppunbillingInfoQueryRequest();
req.setLogDate(StringUtils.parseDateTime("2017-12-04 00:00:00"));
AlitripHotelMipppunbillingInfoQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_hotel_mipppunbilling_info_query_response>
    <result>
        <module_list>
            <module>
                <id>1</id>
                <gmt_modified>1512369708000</gmt_modified>
                <checkin>1511366400000</checkin>
                <gmt_create>1512369708000</gmt_create>
                <hid>1269948055</hid>
                <out_hid>SWDPFLBU</out_hid>
                <log_date>1512316800000</log_date>
                <tid>78167565033344130</tid>
                <checkout>1511625600000</checkout>
                <out_order_id>(MRT)666666666666</out_order_id>
            </module>
        </module_list>
        <error_code>&quot;isv.invalid-parameter&quot;</error_code>
        <out_msg>&quot;&quot;</out_msg>
        <out_code>&quot;0&quot;</out_code>
        <error_msg>&quot;&quot;</error_msg>
        <success>true</success>
    </result>
</alitrip_hotel_mipppunbilling_info_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

返回
顶部