alitrip.hotel.mi.invalidorder.query (万豪海外结账失败的订单查询)

万豪海外结账失败的订单查询(5年历史总数据量600+条)

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
params MiBillingInvalidInfoQuery 必须 参数对象
  • └ id
  • Number
  • 可选
  • 1
  • 主键
  • └ confirmation_nums
  • String []
  • 可选
  • ["854704388"]
  • 万豪订单确认号
  • └ tids
  • Number []
  • 可选
  • [11000465318918402]
  • tids列表
  • └ settlement_time_start
  • Date
  • 可选
  • 2022-01-01 11:11:11
  • 结算时间开始
  • └ settlement_time_end
  • Date
  • 可选
  • 2022-01-01 11:11:11
  • 结算时间结束
  • └ page_num
  • Number
  • 必须
  • 1
  • 分页参数 - 页码
  • └ page_size
  • Number
  • 必须
  • 10
  • 分页参数 - 每页记录数
  • └ log_date_start
  • Date
  • 可选
  • 2022-01-01 11:11:11
  • 记录日期开始
  • └ log_date_end
  • Date
  • 可选
  • 2022-01-01 11:11:11
  • 记录日期结束

响应参数

名称 类型 示例值 描述
out_msg String System error 状态信息
short_info String Success 状态描述
out_code String 1001 状态码
module PageWrapper 分页包装类
  • └ page_count
  • Number
  • 10
  • 查询条数
  • └ total
  • Number
  • 69
  • 数据库总记录数
  • data
  • MiBillingInvalidInfoDO []
  • 实际结果列表
  • └ log_date
  • Date
  • 2022-01-01
  • 记录日期(yyyy-MM-dd)
  • └ total_price
  • Number
  • 4790000
  • 总费用, 单位: 分
  • └ settlement_total
  • Number
  • 4790000
  • 支付宝实际总结算费用, 单位: 分
  • └ settle_currency_code
  • String
  • USD
  • 支付宝结算时的币种
  • └ source
  • String
  • SWD
  • 来源
  • └ confirmation_num
  • String
  • 334705137
  • 确认号
  • └ tid
  • String
  • 10207454117673640
  • tid
  • └ room_price_total
  • Number
  • 4790000
  • 总房费, 单位: 分
  • └ marsha_code
  • String
  • MRT111122
  • marshacode
  • └ checkin
  • Date
  • 1512748800000
  • 入住时间
  • └ id
  • Number
  • 1
  • 主键
  • └ checkout
  • Date
  • 1512748800000
  • 离店日期
  • └ origin_settlement_total
  • Number
  • 4790000
  • 原商品币种的结算发起总金额, 单位: 分
  • └ incidental_total
  • Number
  • 111
  • 总杂费, 单位: 分
  • └ error_msg
  • String
  • System error.:币种类型异常
  • 错误原因
  • └ tax_and_fee_total
  • Number
  • 2222
  • 总税费, 单位: 分
  • └ item_id
  • String
  • item_id
  • AS99987
  • └ settlement_time
  • Date
  • 1512748800000
  • 结算时间
  • └ currency_code
  • String
  • USD
  • 币种
  • └ status
  • Number
  • 0
  • 结算状态
  • └ page_num
  • Number
  • 1
  • 页码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripHotelMiInvalidorderQueryRequest req = new AlitripHotelMiInvalidorderQueryRequest();
AlitripHotelMiInvalidorderQueryRequest.MiBillingInvalidInfoQuery obj1 = new AlitripHotelMiInvalidorderQueryRequest.MiBillingInvalidInfoQuery();
obj1.setId(1L);
obj1.setConfirmationNums(""854704388"");
obj1.setTids(new Long[] { 11000465318918402 };
);
obj1.setSettlementTimeStart(StringUtils.parseDateTime("2022-01-01 11:11:11"));
obj1.setSettlementTimeEnd(StringUtils.parseDateTime("2022-01-01 11:11:11"));
obj1.setPageNum(1L);
obj1.setPageSize(10L);
obj1.setLogDateStart(StringUtils.parseDateTime("2022-01-01 11:11:11"));
obj1.setLogDateEnd(StringUtils.parseDateTime("2022-01-01 11:11:11"));
req.setParams(obj1);
AlitripHotelMiInvalidorderQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_hotel_mi_invalidorder_query_response>
    <out_msg>System error</out_msg>
    <short_info>Success</short_info>
    <out_code>1001</out_code>
    <module>
        <page_count>10</page_count>
        <total>69</total>
        <data>
            <mi_billing_invalid_info_d_o>
                <log_date>2022-01-01</log_date>
                <total_price>4790000</total_price>
                <settlement_total>4790000</settlement_total>
                <settle_currency_code>USD</settle_currency_code>
                <source>SWD</source>
                <confirmation_num>334705137</confirmation_num>
                <tid>10207454117673640</tid>
                <room_price_total>4790000</room_price_total>
                <marsha_code>MRT111122</marsha_code>
                <checkin>1512748800000</checkin>
                <id>1</id>
                <checkout>1512748800000</checkout>
                <origin_settlement_total>4790000</origin_settlement_total>
                <incidental_total>111</incidental_total>
                <error_msg>System error.:币种类型异常</error_msg>
                <tax_and_fee_total>2222</tax_and_fee_total>
                <item_id>item_id</item_id>
                <settlement_time>1512748800000</settlement_time>
                <currency_code>USD</currency_code>
                <status>0</status>
            </mi_billing_invalid_info_d_o>
        </data>
        <page_num>1</page_num>
    </module>
</alitrip_hotel_mi_invalidorder_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

返回
顶部