同步 天猫对标品牌直营品牌关系表 数据
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
tmall_category_brand_list | CategoryBrandDto [] | 必须 |
|
天猫对标品牌直营品牌关系列表 | |
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallCarCategorySyncRequest req = new TmallCarCategorySyncRequest(); List<TmallCarCategorySyncRequest.CategoryBrandDto> list2 = new ArrayList<TmallCarCategorySyncRequest.CategoryBrandDto>(); TmallCarCategorySyncRequest.CategoryBrandDto obj3 = new TmallCarCategorySyncRequest.CategoryBrandDto(); list2.add(obj3); obj3.setBrandName( "abc" ); obj3.setBrandType(1L); obj3.setCreator( "ddd" ); obj3.setModifiedtime(StringUtils.parseDateTime( "2019-08-17 11:23:03" )); obj3.setIsDeleted(0L); obj3.setTmallCategoryId(11L); obj3.setBrandId(11L); obj3.setModifier( "ddd" ); obj3.setCreationtime(StringUtils.parseDateTime( "2019-08-17 11:23:03" )); obj3.setTmallCategoryName( "abc" ); obj3.setId(1L); req.setTmallCategoryBrandList(list2); TmallCarCategorySyncResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < tmall_car_category_sync_response > < result > < data >1234</ data > < success >false</ success > < error_code >"isv.invalid-parameter"</ error_code > < error_msg >"参数错误"</ error_msg > </ result > </ tmall_car_category_sync_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 > |
错误码 | 错误描述 | 解决方案 |
---|