文档中心 > API类目 > 平台治理API

taobao.sungari.jgb.inner.company.abnormal.data.query (企业异常名录信息获取)

提供给蚂蚁团队使用,由于无法使用HSF服务,封装为top接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_name String 必须 分配的appKey 分配的appKey
app_secret String 必须 分配的appSecret 分配的appSecret
ent_name String 可选 企业名称 企业名称
platform_type Number 必须 0 平台类型 0:淘宝 1:天猫 2:1688
reg_no String 可选 注册号 注册号
uni_social_credit String 可选 91330782062020568L 统一社会信用代码,优先推荐

响应参数

名称 类型 示例值 描述
result Result 如下 接口返回model
  • └ code
  • Number
  • 1
  • code,1:成功;2:失败
  • datas
  • CompanyCreditInfoDo []
  • 如下
  • 异常名录数据
  • └ abn_list_time
  • String
  • 列入时间
  • 列入时间
  • └ abn_list_reason
  • String
  • 列入原因
  • 列入原因
  • └ message
  • String
  • success
  • message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
SungariJgbInnerCompanyAbnormalDataQueryRequest req = new SungariJgbInnerCompanyAbnormalDataQueryRequest();
req.setAppName("分配的appKey");
req.setAppSecret("分配的appSecret");
req.setEntName("企业名称");
req.setPlatformType(0L);
req.setRegNo("注册号");
req.setUniSocialCredit("91330782062020568L");
SungariJgbInnerCompanyAbnormalDataQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<sungari_jgb_inner_company_abnormal_data_query_response>
    <result>
        <code>1</code>
        <datas>
            <company_credit_info_do>
                <abn_list_time>列入时间</abn_list_time>
                <abn_list_reason>列入原因</abn_list_reason>
            </company_credit_info_do>
        </datas>
        <message>success</message>
    </result>
</sungari_jgb_inner_company_abnormal_data_query_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

返回
顶部