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

taobao.sungari.jgb.open.report.snapshot.get (投诉举报快速处置系统-快照信息获取)

投诉举报快速处置系统-办案时获取店铺首页截图或商品截图

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
id String 必须 测试_案件唯一ID_1563263816190 案件的唯一id
target_id Number 必须 1123 店铺ID或者宝贝ID,必填
type Number 必须 1 1:店铺首页截图;2:宝贝快照截图,必填

响应参数

名称 类型 示例值 描述
data_code Number 1 code,1:成功;2:失败;11:重复
data String https://files.alicdn.com/tpsservice/774e5a8011f1a3f688bc8d481dd3376a.docx 生成的可下载的临时URL,URL实时返回,但15分钟后才会生效,有效期24小时
message String success message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
SungariJgbOpenReportSnapshotGetRequest req = new SungariJgbOpenReportSnapshotGetRequest();
req.setId("测试_案件唯一ID_1563263816190");
req.setTargetId(1123L);
req.setType(1L);
SungariJgbOpenReportSnapshotGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<sungari_jgb_open_report_snapshot_get_response>
    <data_code>1</data_code>
    <data>https://files.alicdn.com/tpsservice/774e5a8011f1a3f688bc8d481dd3376a.docx</data>
    <message>success</message>
</sungari_jgb_open_report_snapshot_get_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

返回
顶部