alitrip.hotel.mippp.invalid.billing.info.query (查询结账失败的信用住账单信息)

查询万豪酒店的结账失败的信用住账单信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tids String 可选 81620932402858761 订单号,多个值用半角逗号隔开

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • modules
  • Module []
  • 数据列表
  • └ error_msg
  • String
  • 错误日志
  • └ error_code
  • String
  • 错误编码
  • └ source
  • String
  • 订单来源
  • └ currency_code
  • String
  • 货币
  • └ settlement_time
  • Date
  • 结算时间
  • └ settlement_total
  • Number
  • 支付宝实际总结算费用, 单位: 分
  • └ total_price
  • Number
  • 总费用, 单位: 分
  • └ checkout
  • Date
  • 离店日期
  • └ checkin
  • Date
  • 入住日期
  • └ tid
  • String
  • 订单号
  • └ confirmation_num
  • String
  • 万豪订单确认号
  • └ id
  • Number
  • 主键
  • └ out_msg
  • String
  • 外部错误信息
  • └ out_code
  • String
  • 外部错误码
  • └ error_msg
  • String
  • 错误信息
  • └ error_code
  • String
  • 错误码
  • └ success
  • Boolean
  • true
  • 是否成功

请求示例

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

响应示例

  • XML示例
  • JSON示例
<alitrip_hotel_mippp_invalid_billing_info_query_response>
    <result>
        <modules>
            <module>
                <error_msg></error_msg>
                <error_code></error_code>
                <source></source>
                <currency_code></currency_code>
                <settlement_time></settlement_time>
                <settlement_total></settlement_total>
                <total_price></total_price>
                <checkout></checkout>
                <checkin></checkin>
                <tid></tid>
                <confirmation_num></confirmation_num>
                <id></id>
            </module>
        </modules>
        <out_msg></out_msg>
        <out_code></out_code>
        <error_msg></error_msg>
        <error_code></error_code>
        <success>true</success>
    </result>
</alitrip_hotel_mippp_invalid_billing_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

返回
顶部