查询两个渠道之间的固定映射关系,不通过算法兜底
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
password | String | 可选 | gEzsP9NyWNPvLAqM | 密码 | |
app_name | String | 可选 | test_app_name | 账号 | |
src_channel_id | Number | 可选 | 71 | 源渠道ID | |
target_channel_id_list | Number [] | 可选 | [31] |
|
目标渠道ID列表 |
target_category_id | Number | 可选 | 1 | 目标渠道ID | |
src_category_id | Number | 可选 | 1 | 源类目ID |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 9 10 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaImapFixedmappingQueryRequest req = new AlibabaImapFixedmappingQueryRequest(); req.setPassword( "gEzsP9NyWNPvLAqM" ); req.setAppName( "test_app_name" ); req.setSrcChannelId(71L); req.setTargetChannelIdList( "31" ); req.setTargetCategoryId(1L); req.setSrcCategoryId(1L); AlibabaImapFixedmappingQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | < alibaba_imap_fixedmapping_query_response > < result > < success >true</ success > < top_imap_union_category_path_do_list > < top_imap_union_category_path_do > < l5_cat_id >demo</ l5_cat_id > < leaf_cat_name >纯牛奶</ leaf_cat_name > < l3_cat_id >147561302</ l3_cat_id > < leaf >true</ leaf > < leaf_cat_id >147561302</ leaf_cat_id > < l1_cat_id >147561201</ l1_cat_id > < l4_cat_name >demo</ l4_cat_name > < l2_cat_name >乳制品</ l2_cat_name > < l3_cat_name >纯牛奶</ l3_cat_name > < l4_cat_id >demo</ l4_cat_id > < l5_cat_name >demo</ l5_cat_name > < l2_cat_id >147561301</ l2_cat_id > < l1_cat_name >咖啡/麦片/冲饮</ l1_cat_name > < channel_id >demo</ channel_id > </ top_imap_union_category_path_do > </ top_imap_union_category_path_do_list > < error_msg >demo</ error_msg > </ result > </ alibaba_imap_fixedmapping_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|