INS图搜商品功能,提供给ISV使用
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
request_ins_id | String | 必须 | request_ins_id | 请求人的INS账号 | |
be_at_ins_id | String | 必须 | be_at_ins_id | 被@人的INS账号 | |
media_id | String | 必须 | media_id | 被@的原帖ID | |
http_img_url | String | 必须 | http://xxx.jpg | 帖子中的图片url | |
aff_pid | Number | 必须 | 1234567890 | 推广人联盟账号pid |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
img_search_result | SocialSingleResult | img_search_result | 返回的大括号 |
|
1 2 3 4 5 6 7 8 9 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressSocialInsImgsearchRequest req = new AliexpressSocialInsImgsearchRequest(); req.setRequestInsId( "request_ins_id" ); req.setBeAtInsId( "be_at_ins_id" ); req.setMediaId( "media_id" ); req.setAffPid(1234567890L); AliexpressSocialInsImgsearchResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < aliexpress_social_ins_imgsearch_response > < img_search_result > < result > < id >152002</ id > </ result > < success >true</ success > < error_code >null</ error_code > < error_msg >null</ error_msg > </ img_search_result > </ aliexpress_social_ins_imgsearch_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|