查询处置公告或工作公示列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
publicity_list_query_dto | PublicityListQueryDTO | 可选 | 查询请求 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result_code | String | SYSTEM_ERROR | 错误code |
result_msg | String | 系统异常 | 错误描述 |
value | PublicityTopVO [] | 公告信息列表 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AuctionZcPulicityListRequest req = new AuctionZcPulicityListRequest(); AuctionZcPulicityListRequest.PublicityListQueryDTO obj1 = new AuctionZcPulicityListRequest.PublicityListQueryDTO(); obj1.setPublishStartTimeStr( "2025-01-21 00:00:00" ); obj1.setPublishEndTimeStr( "2025-01-21 16:00:00" ); obj1.setPageSize(10L); obj1.setPage(1L); obj1.setProxyNick( "拍卖测试帐号" ); obj1.setTypes( "24" ); obj1.setQueryChild( false ); req.setPublicityListQueryDto(obj1); AuctionZcPulicityListResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | < auction_zc_pulicity_list_response > < result_code >SYSTEM_ERROR</ result_code > < result_msg >系统异常</ result_msg > < value > < publicity_top_v_o > < type >24</ type > < type_desc >处置公告</ type_desc > < publicity_id >15407</ publicity_id > < title >测试公告</ title > < publish_time >1737446921000</ publish_time > < status >1</ status > < cancel_time >1737446921000</ cancel_time > </ publicity_top_v_o > </ value > </ auction_zc_pulicity_list_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 > |
错误码 | 错误描述 | 解决方案 |
---|