文档中心 > API类目 > 淘宝服饰

taobao.industry.cloth.yc.protect.result (同步维权结果)

同步维权结果

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
right_project_sync_result_request RightProjectSyncResultRequest 可选 rightProjectSyncResultRequest
  • └ tort_record_id
  • String
  • 可选
  • xxxxxx
  • 侵权记录ID
  • └ outer_tort_record_id
  • String
  • 可选
  • xxxxxx
  • 外部侵权记录ID
  • └ take_down
  • Boolean
  • 可选
  • true
  • 是否下架
  • └ take_down_time
  • Number
  • 可选
  • 3
  • 下架时间,时间戳
  • └ remark
  • String
  • 可选
  • xxxxx
  • 备注
  • └ file_urls
  • String []
  • 可选
  • Top,Pub
  • 文件url
  • └ tp_app_key
  • String
  • 可选
  • 1992829292
  • appKey
  • └ isv_id
  • String
  • 可选
  • 12222
  • top平台的isvId
  • └ request_id
  • String
  • 可选
  • 12222
  • top平台请求ID
  • └ api_code
  • String
  • 可选
  • 132ss
  • api名称
  • └ seq_id
  • String
  • 可选
  • 1333
  • 外部请求序列号id
  • └ api_source_ip
  • String
  • 可选
  • 1222
  • 向top发起请求的客户端ip

响应参数

名称 类型 示例值 描述
top_result TopResult topResult
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ code
  • Number
  • 401
  • 错误编码
  • └ msg
  • String
  • 授权异常
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
IndustryClothYcProtectResultRequest req = new IndustryClothYcProtectResultRequest();
IndustryClothYcProtectResultRequest.RightProjectSyncResultRequest obj1 = new IndustryClothYcProtectResultRequest.RightProjectSyncResultRequest();
obj1.setTortRecordId("xxxxxx");
obj1.setOuterTortRecordId("xxxxxx");
obj1.setTakeDown(true);
obj1.setTakeDownTime(3L);
obj1.setRemark("xxxxx");
obj1.setFileUrls("Top,Pub");
obj1.setTpAppKey("1992829292");
obj1.setIsvId("12222");
obj1.setRequestId("12222");
obj1.setApiCode("132ss");
obj1.setSeqId("1333");
obj1.setApiSourceIp("1222");
req.setRightProjectSyncResultRequest(obj1);
IndustryClothYcProtectResultResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<industry_cloth_yc_protect_result_response>
    <top_result>
        <success>true</success>
        <code>401</code>
        <msg>授权异常</msg>
    </top_result>
</industry_cloth_yc_protect_result_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

返回
顶部