查询店铺所属的类目信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
top_service_context | TopServiceContext | 必须 | topServiceContext | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | TopResult | 结果体 | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UniversalbpShopcategoryFindlistRequest req = new UniversalbpShopcategoryFindlistRequest(); UniversalbpShopcategoryFindlistRequest.TopServiceContext obj1 = new UniversalbpShopcategoryFindlistRequest.TopServiceContext(); obj1.setBizCode( "xxxxx" ); req.setTopServiceContext(obj1); UniversalbpShopcategoryFindlistResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | < universalbp_shopcategory_findlist_response > < result > < info > < ok >true</ ok > < message >参数错误</ message > < error_code >xxxxx</ error_code > </ info > < shop_category_v_o_top_bulk_data > < shop_category_v_o_list > < shop_category_vo > < category_id >35</ category_id > < category_name >童装/婴儿装/亲子装</ category_name > < parent_category_id >0</ parent_category_id > </ shop_category_vo > </ shop_category_v_o_list > < count >1</ count > </ shop_category_v_o_top_bulk_data > </ result > </ universalbp_shopcategory_findlist_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 > |
错误码 | 错误描述 | 解决方案 |
---|