注意:以下文档只适用于TOP接口,请谨慎使用!

alibaba.idle.recycle.inspection.report (鉴定报告)

回收商鉴定报告

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
inspection_report InspectionReport 可选 鉴定报告
  • └ price
  • Number
  • 可选
  • 4400
  • 价格
  • └ err_msg
  • String
  • 可选
  • 错误信息描述
  • 错误信息
  • └ report
  • String
  • 可选
  • {"questions":[{"answers":[{"id":105365}],"id":100002},{"answers":[{"id":106302}],"id":100004},{"answers":[{"id":100016}],"id":100006},{"answers":[{"id":248}],"id":70},{"answers":[{"id":62}],"id":26},{"answers":[{"id":78}],"id":32},{"answers":[{"id":253}],"id":10,"tips":{"picUrl":"https://xxx.png;https://xxx2.png"}},{"answers":[{"id":38}],"id":18},{"answers":[{"id":84}],"id":34},{"answers":[{"id":54},{"id":92}],"id":99999,"tips":{"picUrl":"https://xxx.png;https://xxx2.png"}}]}
  • 鉴定报告
  • └ err_code
  • String
  • 可选
  • 错误
  • 错误描述
  • └ success
  • Boolean
  • 可选
  • true
  • 成功
  • └ order_id
  • Number
  • 可选
  • 1122334
  • 订单,orderId优先,与quote_id任选其一
  • └ degree
  • String
  • 可选
  • 99新
  • 成色
  • └ quote_id
  • String
  • 可选
  • 10
  • 估价id,与order_id任选其一,orderId优先
  • └ summary
  • String
  • 可选
  • 99新,外观完好
  • 对此商品的质检描述
  • └ recycle_supplier_id
  • Number
  • 可选
  • 545749246
  • 手淘商家的淘宝账号id,通过 spuId 和 recycleSupplierId 定位到唯一的回收模板
  • └ explanation
  • String
  • 可选
  • {"desc":"检测报告","images":["https:\/\/img.alicdn.com\/imgextra\/i2\/2207288991077\/O1CN01Jgb4v61JpJGjZBxsE_!!2207288991077.png"]}
  • /** * Json串:desc存储特别说明的文字描述,images存储上传的图片url; * 形如: * { * "desc":"desc", * "images":[ * "imageUrl1", * "imageUrl2" * ] * }; */
  • └ appraise_type
  • Number
  • 可选
  • 1
  • 质检类型(1第一次直接;2二次复检)
  • └ imei
  • String
  • 可选
  • 12412424
  • 设备imei号
  • ext_attributes
  • HashMap
  • 可选
  • {}
  • 扩展字段MAP
  • └ recycle_price
  • String
  • 可选
  • 30000
  • 回收价(分)
  • └ ship_type
  • String []
  • 可选
  • 1:顺丰快递上门取件,2:服务商邮寄
  • [1,2]

响应参数

名称 类型 示例值 描述
result RecycleResult true result
  • └ err_msg
  • String
  • OK
  • errMsg
  • └ err_code
  • String
  • OK
  • errCode
  • └ success
  • Boolean
  • true
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleRecycleInspectionReportRequest req = new AlibabaIdleRecycleInspectionReportRequest();
AlibabaIdleRecycleInspectionReportRequest.InspectionReport obj1 = new AlibabaIdleRecycleInspectionReportRequest.InspectionReport();
obj1.setPrice(4400L);
obj1.setErrMsg("错误信息描述");
obj1.setReport("{\"questions\":[{\"answers\":[{\"id\":105365}],\"id\":100002},{\"answers\":[{\"id\":106302}],\"id\":100004},{\"answers\":[{\"id\":100016}],\"id\":100006},{\"answers\":[{\"id\":248}],\"id\":70},{\"answers\":[{\"id\":62}],\"id\":26},{\"answers\":[{\"id\":78}],\"id\":32},{\"answers\":[{\"id\":253}],\"id\":10,\"tips\":{\"picUrl\":\"https://xxx.png;https://xxx2.png\"}},{\"answers\":[{\"id\":38}],\"id\":18},{\"answers\":[{\"id\":84}],\"id\":34},{\"answers\":[{\"id\":54},{\"id\":92}],\"id\":99999,\"tips\":{\"picUrl\":\"https://xxx.png;https://xxx2.png\"}}]}");
obj1.setErrCode("错误");
obj1.setSuccess(true);
obj1.setOrderId(1122334L);
obj1.setDegree("99新");
obj1.setQuoteId("10");
obj1.setSummary("99新,外观完好");
obj1.setRecycleSupplierId(545749246L);
obj1.setExplanation("{\"desc\":\"检测报告\",\"images\":[\"https:\/\/img.alicdn.com\/imgextra\/i2\/2207288991077\/O1CN01Jgb4v61JpJGjZBxsE_!!2207288991077.png\"]}");
obj1.setAppraiseType(1L);
obj1.setImei("12412424");
AlibabaIdleRecycleInspectionReportRequest.HashMap obj2 = new AlibabaIdleRecycleInspectionReportRequest.HashMap();
obj2.setRecyclePrice("30000");
obj2.setShipType("1:顺丰快递上门取件,2:服务商邮寄");
obj1.setExtAttributes(obj2);
req.setInspectionReport(obj1);
AlibabaIdleRecycleInspectionReportResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_recycle_inspection_report_response>
    <result>
        <err_msg>OK</err_msg>
        <err_code>OK</err_code>
        <success>true</success>
    </result>
</alibaba_idle_recycle_inspection_report_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

返回
顶部