文档中心 > API类目 > 阿里供应链中台API

alibaba.ascp.scf.termination.apply.result.feed (解约结果回调接口)

供应商融资平台提供供应商解约结果回传接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
paramScfGatewayRequest ScfGatewayRequest 必须 统一入参形式
  • params
  • OssTokenQuery
  • 必须
  • 业务参数
  • └ bizCode
  • String
  • 必须
  • TMCS
  • 行业参数
  • └ supplierCompanyId
  • String
  • 必须
  • 500001000030687
  • 供应商编号
  • └ terminateApplyId
  • String
  • 必须
  • 3000000000000000001
  • 解约意向申请编号
  • └ success
  • Boolean
  • 必须
  • true
  • 是否同意解约

响应参数

名称 类型 示例值 描述
resCode String 200 返回结果码,200表示成功
resMsg String 参数异常 返回具体的异常信息编码
data Boolean true 是否处理成功
resSuccess Boolean true 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAscpScfTerminationApplyResultFeedRequest req = new AlibabaAscpScfTerminationApplyResultFeedRequest();
AlibabaAscpScfTerminationApplyResultFeedRequest.ScfGatewayRequest obj1 = new AlibabaAscpScfTerminationApplyResultFeedRequest.ScfGatewayRequest();
AlibabaAscpScfTerminationApplyResultFeedRequest.OssTokenQuery obj2 = new AlibabaAscpScfTerminationApplyResultFeedRequest.OssTokenQuery();
obj2.setBizCode("TMCS");
obj2.setSupplierCompanyId("500001000030687");
obj2.setTerminateApplyId("3000000000000000001");
obj2.setSuccess(true);
obj1.setParams(obj2);
req.setParamScfGatewayRequest(obj1);
AlibabaAscpScfTerminationApplyResultFeedResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ascp_scf_termination_apply_result_feed_response>
    <resCode>200</resCode>
    <resMsg>参数异常</resMsg>
    <data>true</data>
    <resSuccess>true</resSuccess>
</alibaba_ascp_scf_termination_apply_result_feed_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

返回
顶部