同步 天猫车型属性适配表 数据
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
tmall_car_adapter_prop_list | CarAdapterPropDto [] | 必须 |
|
天猫车型属性适配列表 | |
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallCarPropertySyncRequest req = new TmallCarPropertySyncRequest(); List<TmallCarPropertySyncRequest.CarAdapterPropDto> list2 = new ArrayList<TmallCarPropertySyncRequest.CarAdapterPropDto>(); TmallCarPropertySyncRequest.CarAdapterPropDto obj3 = new TmallCarPropertySyncRequest.CarAdapterPropDto(); list2.add(obj3); obj3.setProp8Name( "11" ); obj3.setProp9NameId(11L); obj3.setProp3Name( "11" ); obj3.setModifier( "aa" ); obj3.setProp3Value( "11" ); obj3.setProp7Name( "11" ); obj3.setProp8Value( "11" ); obj3.setProp4NameId(11L); obj3.setProp5Value( "11" ); obj3.setProp9Name( "22" ); obj3.setModifiedtime(StringUtils.parseDateTime( "2019-08-17 11:23:03" )); obj3.setProp2Name( "11" ); obj3.setProp9ValueId(11L); obj3.setIsDeleted(1L); obj3.setProp7NameId(22L); obj3.setProp8ValueId(11L); obj3.setProp2NameId(11L); obj3.setProp5NameId(11L); obj3.setProp6Name( "11" ); obj3.setProp1Name( "11" ); obj3.setProp10Value( "11" ); obj3.setProp10ValueId(11L); obj3.setTmallPositionId(11L); obj3.setProp4Value( "11" ); obj3.setProp1Value( "11" ); obj3.setProp3NameId(11L); obj3.setCreator( "11" ); obj3.setProp2ValueId(11L); obj3.setProp5Name( "11" ); obj3.setProp1ValueId(11L); obj3.setProp7Value( "11" ); obj3.setTmallCategoryId(11L); obj3.setProp3ValueId(11L); obj3.setProp4ValueId(11L); obj3.setProp5ValueId(11L); obj3.setProp6ValueId(11L); obj3.setProp7ValueId(11L); obj3.setProp8NameId(11L); obj3.setProp10NameId(11L); obj3.setAcId(44L); obj3.setProp2Value( "33" ); obj3.setProp1NameId(33L); obj3.setProp10Name( "22" ); obj3.setProp4Name( "22" ); obj3.setProp6Value( "22" ); obj3.setCreationtime(StringUtils.parseDateTime( "2019-08-17 11:23:03" )); obj3.setProp9Value( "22" ); obj3.setProp6NameId(22L); obj3.setId(1L); req.setTmallCarAdapterPropList(list2); TmallCarPropertySyncResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < tmall_car_property_sync_response > < result > < data >1234</ data > < success >false</ success > < error_code >"isv.invalid-parameter"</ error_code > < error_msg >"参数错误"</ error_msg > </ result > </ tmall_car_property_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 > |
错误码 | 错误描述 | 解决方案 |
---|