alitrip.agent.flight.sell.refund.list (销售退票单列表)

销售退票单列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param RefundListRequestDto 可选 请求对象
  • └ end_apply_time
  • Date
  • 必须
  • 2020-12-20 11:11:11
  • 退票申请起始时间
  • └ begin_apply_time
  • Date
  • 必须
  • 2020-12-20 11:11:11
  • 退票申请结束时间(提交申请结束时间,限制只能与起始时间相差一天)
  • └ page
  • Number
  • 必须
  • 1
  • 页码
  • └ status
  • Number
  • 可选
  • 1
  • 退票单状态:1:待回填费用,2:待退款,3:退款中,4:已完成,5:已拒绝
  • └ agent_ids
  • Number []
  • 可选
  • [123,456]
  • 店铺id集合

响应参数

名称 类型 示例值 描述
result PageDto 系统自动生成
  • └ total
  • Number
  • 1
  • 123
  • data_list
  • T []
  • 数据集
  • └ apply_id
  • String
  • 1234656
  • 退票申请单号
  • └ domestic_intl
  • Number
  • 1
  • 国内国际标识(1:国内,2:国际)
  • └ order_id
  • String
  • 891601930199
  • 飞猪订单号
  • └ apply_time
  • Date
  • 2020-12-20 11:11:11
  • 时间
  • └ success
  • Boolean
  • true
  • 成功失败标识
  • └ error_code
  • String
  • 001
  • 错误码:000:系统异常, 001:请求参数不合法, 002:权限不足, 003:操作失败, 004:流量管控
  • └ error_msg
  • String
  • 参数校验异常
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripAgentFlightSellRefundListRequest req = new AlitripAgentFlightSellRefundListRequest();
AlitripAgentFlightSellRefundListRequest.RefundListRequestDto obj1 = new AlitripAgentFlightSellRefundListRequest.RefundListRequestDto();
obj1.setEndApplyTime(StringUtils.parseDateTime("2020-12-20 11:11:11"));
obj1.setBeginApplyTime(StringUtils.parseDateTime("2020-12-20 11:11:11"));
obj1.setPage(1L);
obj1.setStatus(1L);
obj1.setAgentIds(new Long[] { 123,456 };
);
req.setParam(obj1);
AlitripAgentFlightSellRefundListResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_agent_flight_sell_refund_list_response>
    <result>
        <total>1</total>
        <data_list>
            <t>
                <apply_id>1234656</apply_id>
                <domestic_intl>1</domestic_intl>
                <order_id>891601930199</order_id>
                <apply_time>2020-12-20 11:11:11</apply_time>
            </t>
        </data_list>
        <success>true</success>
        <error_code>001</error_code>
        <error_msg>参数校验异常</error_msg>
    </result>
</alitrip_agent_flight_sell_refund_list_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

返回
顶部