文档中心 > API类目 > 企业运营平台-集团财务

taobao.financial.anypay.cancelbatch (批量撤回结算单接口)

批量撤回结算单接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
cancel_approved_stm_batch_dto CancelApprovedStmBatchDto 可选 批量撤回结算单
  • └ biz_request_no
  • String
  • 可选
  • sdlfjdfdfkdfkdjfkdjfk
  • 唯一请求单号
  • └ cancel_comments
  • String
  • 可选
  • 测试
  • 撤销说明
  • └ biz_code
  • String
  • 可选
  • energy
  • 特付分配给每个系统的CODE
  • └ cancel_type
  • String
  • 可选
  • CANCEL_ALL
  • 撤销类型
  • └ expense_request_nos
  • String []
  • 可选
  • ["123456"]
  • 费用明细请求单号列表

响应参数

名称 类型 示例值 描述
error_detail_info String null 详细错误信息
data String null 返回值
response_success Boolean true 状态
response_error_code String 300 错误码
response_error_msg String 错误 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
FinancialAnypayCancelbatchRequest req = new FinancialAnypayCancelbatchRequest();
FinancialAnypayCancelbatchRequest.CancelApprovedStmBatchDto obj1 = new FinancialAnypayCancelbatchRequest.CancelApprovedStmBatchDto();
obj1.setBizRequestNo("sdlfjdfdfkdfkdjfkdjfk");
obj1.setCancelComments("测试");
obj1.setBizCode("energy");
obj1.setCancelType("CANCEL_ALL");
obj1.setExpenseRequestNos(""123456"");
req.setCancelApprovedStmBatchDto(obj1);
FinancialAnypayCancelbatchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<financial_anypay_cancelbatch_response>
    <error_detail_info>null</error_detail_info>
    <data>null</data>
    <response_success>true</response_success>
    <response_error_code>300</response_error_code>
    <response_error_msg>错误</response_error_msg>
</financial_anypay_cancelbatch_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

返回
顶部