文档中心 > API类目 > ICBU交易金融

alibaba.finance.insurance.icbu.customer.type.query.callback (用户类型查询回调接口)

用户类型查询回调接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ali_id String 必须 12344 aliId

响应参数

名称 类型 示例值 描述
customer_type_cal_response CustomerTypeCalResponse 返回值
  • └ customer_type
  • String
  • PARTNER/CGS
  • 用户类型
  • └ success
  • Boolean
  • true
  • 成功与否
  • └ error_code
  • String
  • 404
  • 错误码
  • └ error_msg
  • String
  • SYSTEM_ERROR
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFinanceInsuranceIcbuCustomerTypeQueryCallbackRequest req = new AlibabaFinanceInsuranceIcbuCustomerTypeQueryCallbackRequest();
req.setAliId("12344");
AlibabaFinanceInsuranceIcbuCustomerTypeQueryCallbackResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_finance_insurance_icbu_customer_type_query_callback_response>
    <customer_type_cal_response>
        <customer_type>PARTNER/CGS</customer_type>
        <success>true</success>
        <error_code>404</error_code>
        <error_msg>SYSTEM_ERROR</error_msg>
    </customer_type_cal_response>
</alibaba_finance_insurance_icbu_customer_type_query_callback_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

返回
顶部