alitrip.hotel.mippp.billing.file.info.query (查询万豪账单文件同步信息)

根据外部确认号(万豪订单号)查询万豪账单文件的同步信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
out_order_ids String 必须 71669169 外部确认号,多个值用半角逗号隔开

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • modules
  • Module []
  • 记录列表
  • └ is_valid
  • Boolean
  • 是否含有效数据
  • └ has_content
  • Boolean
  • 是否有内容
  • └ file_size
  • Number
  • 文件大小
  • └ status
  • Number
  • 文件状态
  • └ file_name
  • String
  • 账单文件名称
  • └ gmt_modified
  • Date
  • 修改时间
  • └ gmt_create
  • Date
  • 创建时间
  • └ id
  • Number
  • 主键
  • └ out_msg
  • String
  • 外部错误信息
  • └ out_code
  • String
  • 外部错误码
  • └ error_msg
  • String
  • 错误信息
  • └ error_code
  • String
  • 错误码
  • └ success
  • Boolean
  • false
  • 是否成功

请求示例

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

响应示例

  • XML示例
  • JSON示例
<alitrip_hotel_mippp_billing_file_info_query_response>
    <result>
        <modules>
            <module>
                <is_valid></is_valid>
                <has_content></has_content>
                <file_size></file_size>
                <status></status>
                <file_name></file_name>
                <gmt_modified></gmt_modified>
                <gmt_create></gmt_create>
                <id></id>
            </module>
        </modules>
        <out_msg></out_msg>
        <out_code></out_code>
        <error_msg></error_msg>
        <error_code></error_code>
        <success>false</success>
    </result>
</alitrip_hotel_mippp_billing_file_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

返回
顶部