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

alitrip.futurehotel.haorder.save.amount.query (查询省钱订单明细列表)

飞猪-菲住联盟迁移API-查询省钱订单明细列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_query_save_amount_list_request QuerySaveAmountListRequest 可选 系统自动生成
  • └ buyer_id
  • Number
  • 可选
  • 2770462043100735
  • 用户id
  • └ trace_id
  • String
  • 可选
  • 11
  • 链路id

响应参数

名称 类型 示例值 描述
result QueryOrderSaveAmountListResponse 出参对象
  • └ fh_code
  • String
  • 返回码
  • └ fh_msg
  • String
  • 返回信息
  • └ fh_success
  • Boolean
  • 执行是否成功
  • list
  • OrderSaveAmountListVo []
  • 省钱订单明细列表
  • └ channel
  • Number
  • 渠道
  • └ gmt_create
  • String
  • 创建时间
  • └ order_id
  • Number
  • 订单号
  • └ product_name
  • String
  • 酒店名称
  • └ total_promotion
  • Number
  • 优惠金额
  • └ sum_promotion
  • Number
  • 总的优惠金额
  • type_list
  • OrderSaveAmountTypeVo []
  • 会员累计已省分类金额
  • └ promotion
  • Number
  • 金额
  • └ save_amount_type
  • Number
  • 类型

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripFuturehotelHaorderSaveAmountQueryRequest req = new AlitripFuturehotelHaorderSaveAmountQueryRequest();
AlitripFuturehotelHaorderSaveAmountQueryRequest.QuerySaveAmountListRequest obj1 = new AlitripFuturehotelHaorderSaveAmountQueryRequest.QuerySaveAmountListRequest();
obj1.setBuyerId(2770462043100735L);
obj1.setTraceId("11");
req.setParamQuerySaveAmountListRequest(obj1);
AlitripFuturehotelHaorderSaveAmountQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_futurehotel_haorder_save_amount_query_response>
    <result>
        <fh_code></fh_code>
        <fh_msg></fh_msg>
        <fh_success></fh_success>
        <list>
            <order_save_amount_list_vo>
                <channel></channel>
                <gmt_create></gmt_create>
                <order_id></order_id>
                <product_name></product_name>
                <total_promotion></total_promotion>
            </order_save_amount_list_vo>
        </list>
        <sum_promotion></sum_promotion>
        <type_list>
            <order_save_amount_type_vo>
                <promotion></promotion>
                <save_amount_type></save_amount_type>
            </order_save_amount_type_vo>
        </type_list>
    </result>
</alitrip_futurehotel_haorder_save_amount_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

返回
顶部