文档中心 > API类目 > 企业贷款-机构接入API

alibaba.finance.promotion.result.notify (生意卡营销权益发放结果通知)

生意卡营销权益发放结果通知

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
external_common_request ExternalCommonRequest 可选 请求体
  • └ instruction_type
  • String
  • 必须
  • XXBANK
  • 操作类型
  • └ idempotent_no
  • String
  • 必须
  • 123
  • 幂等号
  • └ notify_content
  • String
  • 可选
  • {}
  • 回调内容
  • └ institution_type
  • String
  • 必须
  • XXX
  • 机构代码

响应参数

名称 类型 示例值 描述
trace_id String xxxx 链路ID
data String {} 内容体
response_message String SUCCESS 返回描述
response_code String SUCCESS 返回码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFinancePromotionResultNotifyRequest req = new AlibabaFinancePromotionResultNotifyRequest();
AlibabaFinancePromotionResultNotifyRequest.ExternalCommonRequest obj1 = new AlibabaFinancePromotionResultNotifyRequest.ExternalCommonRequest();
obj1.setInstructionType("XXBANK");
obj1.setIdempotentNo("123");
obj1.setNotifyContent("{}");
obj1.setInstitutionType("XXX");
req.setExternalCommonRequest(obj1);
AlibabaFinancePromotionResultNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_finance_promotion_result_notify_response>
    <trace_id>xxxx</trace_id>
    <data>{}</data>
    <response_message>SUCCESS</response_message>
    <response_code>SUCCESS</response_code>
</alibaba_finance_promotion_result_notify_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

返回
顶部