文档中心 > API类目 > 飞猪-菲住联盟

alitrip.futurehotel.haorder.order.count.query (查询各个分类的订单数量)

飞猪-菲住联盟迁移API-查询各个分类的订单数量

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_query_order_count_request QueryOrderCountRequest 可选 系统自动生成
  • └ buyer_id
  • Number
  • 可选
  • 6599600011100299
  • 用户id

响应参数

名称 类型 示例值 描述
result QueryOrderCountResponse 出参对象
  • └ all_order_count
  • Number
  • 全部订单数量
  • └ fh_code
  • String
  • 返回码
  • └ fh_msg
  • String
  • 返回信息
  • └ fh_success
  • Boolean
  • 执行是否成功
  • └ wait_check_count
  • Number
  • 待出行订单数量
  • └ wait_comment_count
  • Number
  • 待点评订单数量
  • └ wait_pay_count
  • Number
  • 待支付订单数量

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripFuturehotelHaorderOrderCountQueryRequest req = new AlitripFuturehotelHaorderOrderCountQueryRequest();
AlitripFuturehotelHaorderOrderCountQueryRequest.QueryOrderCountRequest obj1 = new AlitripFuturehotelHaorderOrderCountQueryRequest.QueryOrderCountRequest();
obj1.setBuyerId(6599600011100299L);
req.setParamQueryOrderCountRequest(obj1);
AlitripFuturehotelHaorderOrderCountQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_futurehotel_haorder_order_count_query_response>
    <result>
        <all_order_count></all_order_count>
        <fh_code></fh_code>
        <fh_msg></fh_msg>
        <fh_success></fh_success>
        <wait_check_count></wait_check_count>
        <wait_comment_count></wait_comment_count>
        <wait_pay_count></wait_pay_count>
    </result>
</alitrip_futurehotel_haorder_order_count_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

返回
顶部