文档中心 > API类目 > 知识产权API

alibaba.dcicode.data.collection (各项数据量汇总接口)

提供给国家版权中心的接口服务,查询每日各项数据量汇总接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
date String 必须 2021-01-01 查询的日期

响应参数

名称 类型 示例值 描述
result Result {} 接口返回model
  • └ error_code
  • String
  • demo
  • 错误码
  • module
  • DciCopyRightCollectionDto
  • {}
  • 结构化数据
  • └ register_total
  • Number
  • 1
  • 登记数目
  • └ repeal_total
  • Number
  • 1
  • 撤销数目
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ total
  • Number
  • 0
  • 总数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDcicodeDataCollectionRequest req = new AlibabaDcicodeDataCollectionRequest();
req.setDate("2021-01-01");
AlibabaDcicodeDataCollectionResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_dcicode_data_collection_response>
    <result>
        <error_code>demo</error_code>
        <module>
            <register_total>1</register_total>
            <repeal_total>1</repeal_total>
        </module>
        <success>true</success>
        <total>0</total>
    </result>
</alibaba_dcicode_data_collection_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

返回
顶部