阿里拍卖发布标的(草稿)老版即将下线
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_add_zc_auction_d_o | AddZcAuctionDo | 可选 | 拍品实体对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
op_code | String | 无 | 错误code |
op_msg | String | 无 | 错误描述 |
op_success | Boolean | true | 调用成功 true,失败false |
value | Number | 12323 | 数字id(非拍品id) |
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 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AuctionZcAuctionDraftPublicRequest req = new AuctionZcAuctionDraftPublicRequest(); AuctionZcAuctionDraftPublicRequest.AddZcAuctionDo obj1 = new AuctionZcAuctionDraftPublicRequest.AddZcAuctionDo(); obj1.setAttachUrls( "TB1FSY6XXXXXXX2XFXX.LpbFXXX" ); obj1.setBuyerNubmer(1L); obj1.setCategoryId(133422695L); obj1.setComp(132L); obj1.setConsultPrice(88800L); obj1.setDescription( "98新宝马X3" ); obj1.setEnd(StringUtils.parseDateTime( "2017-02-21 09:20:37" )); obj1.setFreezeAmount(2000L); obj1.setIncreaseRange(1000L); obj1.setIsBuyRestrictions( true ); obj1.setIsSupportLoans( false ); obj1.setItemNotice( "拍卖须知" ); obj1.setLinkMan( "张三" ); obj1.setLocation(120226L); obj1.setMobilePhone( "13534334***" ); obj1.setOutId(12324L); obj1.setPicUrlList( "i3/65753801/TB2gi0aXXXXXXalXXXXXXXXXXXX_!!65753801-0-paimai.jpg" ); obj1.setPostage(0L); obj1.setProjectId(135068L); obj1.setProxyNick( "中国联通XXX分公司" ); obj1.setReservePrice(1000L); obj1.setStart(StringUtils.parseDateTime( "2017-01-23 09:20:37" )); obj1.setStartPrice(10000L); obj1.setTitle( "宝马X3拍卖" ); obj1.setAuctionBizType(2L); obj1.setDeliveryMode(0L); obj1.setSubAccountNick( "子账号nick" ); AuctionZcAuctionDraftPublicRequest.AuctionResultDisplay obj2 = new AuctionZcAuctionDraftPublicRequest.AuctionResultDisplay(); obj2.setAuctionResultDisplay( true ); obj2.setAuctionResultDisplayCondition(1L); obj2.setAuctionResultDisplayDuration(12L); obj1.setAuctionResultDisplay(obj2); req.setParamAddZcAuctionDO(obj1); AuctionZcAuctionDraftPublicResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 | < auction_zc_auction_draft_public_response > < op_code >无</ op_code > < op_msg >无</ op_msg > < op_success >true</ op_success > < value >12323</ value > </ auction_zc_auction_draft_public_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 > |
错误码 | 错误描述 | 解决方案 |
---|