同步 - 车型用量表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
tmall_position_amount_list | PositionAmountDto [] | 必须 |
|
车型用量列表 | |
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
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); TmallCarPositionSyncRequest req = new TmallCarPositionSyncRequest(); List<TmallCarPositionSyncRequest.PositionAmountDto> list2 = new ArrayList<TmallCarPositionSyncRequest.PositionAmountDto>(); TmallCarPositionSyncRequest.PositionAmountDto obj3 = new TmallCarPositionSyncRequest.PositionAmountDto(); list2.add(obj3); obj3.setAcId(11L); obj3.setUnit( "1" ); obj3.setCreationtime(StringUtils.parseDateTime( "2019-08-17 11:23:03" )); obj3.setTmallCategoryId(1L); obj3.setCreator( "zyt" ); obj3.setModifiedtime(StringUtils.parseDateTime( "2019-08-17 11:23:03" )); obj3.setPositionAmount(11L); obj3.setTmallPositionId(1L); obj3.setModifier( "zyt" ); obj3.setIsDeleted(1L); obj3.setId(1L); req.setTmallPositionAmountList(list2); TmallCarPositionSyncResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < tmall_car_position_sync_response > < result > < data >1234</ data > < success >false</ success > < error_code >"isv.invalid-parameter"</ error_code > < error_msg >"参数错误"</ error_msg > </ result > </ tmall_car_position_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 > |
错误码 | 错误描述 | 解决方案 |
---|