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

taobao.industry.cloth.yc.tort.save (同步侵权记录)

同步侵权记录

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tort_record_save_request TortRecordSaveRequest 可选 tortRecordSaveRequest
  • └ taobao_apply_id
  • String
  • 可选
  • TYC10000001
  • 淘宝申请ID
  • └ outer_apply_id
  • String
  • 可选
  • YC10000001
  • 外部申请ID
  • tort_records
  • TortRecord []
  • 可选
  • 侵权记录
  • └ outer_tort_record_id
  • String
  • 可选
  • xxxxxxx
  • 外部侵权记录ID
  • └ find_date
  • String
  • 可选
  • 2026-01-01
  • 发现日期,格式yyyy-MM-dd
  • └ total_inspect_times
  • Number
  • 可选
  • 100
  • 总巡检次数
  • goods_info
  • GoodsInfo
  • 可选
  • 商品信息
  • └ img_url
  • String
  • 可选
  • https://xxxx.com/xxx.jpg
  • 商品图片url
  • └ name
  • String
  • 可选
  • xxxx
  • 商品名称
  • └ url
  • String
  • 可选
  • https://xxxx.com/xxx.html
  • 商品链接
  • └ shop_name
  • String
  • 可选
  • xxxx
  • 店铺名称
  • └ platform_name
  • String
  • 可选
  • xxxx
  • 平台名称
  • └ sale_quantity
  • Number
  • 可选
  • 100
  • 商品销量
  • └ 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
  • 授权异常
  • 错误信息
  • tort_record_save_response
  • TortRecordSaveResponse
  • 响应结果
  • tort_record_responses
  • TortRecordResponse []
  • 侵权记录
  • └ taobao_tort_record_id
  • String
  • xxxxxx
  • 淘宝侵权记录ID
  • └ outer_tort_record_id
  • String
  • xxxxxx
  • 外部侵权记录ID

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
IndustryClothYcTortSaveRequest req = new IndustryClothYcTortSaveRequest();
IndustryClothYcTortSaveRequest.TortRecordSaveRequest obj1 = new IndustryClothYcTortSaveRequest.TortRecordSaveRequest();
obj1.setTaobaoApplyId("TYC10000001");
obj1.setOuterApplyId("YC10000001");
List<IndustryClothYcTortSaveRequest.TortRecord> list3 = new ArrayList<IndustryClothYcTortSaveRequest.TortRecord>();
IndustryClothYcTortSaveRequest.TortRecord obj4 = new IndustryClothYcTortSaveRequest.TortRecord();
list3.add(obj4);
obj4.setOuterTortRecordId("xxxxxxx");
obj4.setFindDate("2026-01-01");
obj4.setTotalInspectTimes(100L);
IndustryClothYcTortSaveRequest.GoodsInfo obj6 = new IndustryClothYcTortSaveRequest.GoodsInfo();
obj6.setImgUrl("https://xxxx.com/xxx.jpg");
obj6.setName("xxxx");
obj6.setUrl("https://xxxx.com/xxx.html");
obj6.setShopName("xxxx");
obj6.setPlatformName("xxxx");
obj6.setSaleQuantity(100L);
list5.setGoodsInfo(obj6);
obj1.setTortRecords(list3);
obj1.setTpAppKey("1992829292");
obj1.setIsvId("12222");
obj1.setRequestId("12222");
obj1.setApiCode("132ss");
obj1.setSeqId("1333");
obj1.setApiSourceIp("1222");
req.setTortRecordSaveRequest(obj1);
IndustryClothYcTortSaveResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<industry_cloth_yc_tort_save_response>
    <top_result>
        <success>true</success>
        <code>401</code>
        <msg>授权异常</msg>
        <tort_record_save_response>
            <tort_record_responses>
                <tort_record_response>
                    <taobao_tort_record_id>xxxxxx</taobao_tort_record_id>
                    <outer_tort_record_id>xxxxxx</outer_tort_record_id>
                </tort_record_response>
            </tort_record_responses>
        </tort_record_save_response>
    </top_result>
</industry_cloth_yc_tort_save_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

返回
顶部