电子书内容获取
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query | EBookTopQuery | 必须 | query | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
trace_id | String | 2106cfa716390164952178186e479f | trace_id |
data | EBookDTO | 电子书 | |
|
|||
error_msg | String | 参数错误 | 错误 |
status | Boolean | true | 状态:成功/失败 |
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaTbdxSaasclassEbookItemGetRequest req = new AlibabaTbdxSaasclassEbookItemGetRequest(); AlibabaTbdxSaasclassEbookItemGetRequest.EBookTopQuery obj1 = new AlibabaTbdxSaasclassEbookItemGetRequest.EBookTopQuery(); obj1.setSellerOpenUid( "AAHc5d-EAAeGwJWdwSHnIQLz" ); obj1.setItemId(412313L); req.setQuery(obj1); AlibabaTbdxSaasclassEbookItemGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
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 | < alibaba_tbdx_saasclass_ebook_item_get_response > < trace_id >2106cfa716390164952178186e479f</ trace_id > < data > < gmt_modified >2022-03-16 14:00:00</ gmt_modified > < name >名称</ name > < isbn >isbn</ isbn > < author >李四</ author > < publisher >杭州出版社</ publisher > < publish_time >1511217898</ publish_time > < category_id >412313</ category_id > < description >简介</ description > < price >1000</ price > < try_ratio >2</ try_ratio > < item_id >412412</ item_id > < audit_status >0</ audit_status > < auctions > < auction_d_t_o > < auction_id >41241245235</ auction_id > < auction_name >宝贝名称</ auction_name > < auction_status >0</ auction_status > < price >100</ price > < seller_open_uid >AAHM5d-EAAeGwJedwSGumAua</ seller_open_uid > < seller_info > < shop_name >淘宝教育官方店</ shop_name > </ seller_info > </ auction_d_t_o > </ auctions > < seller_open_uid >AAHM5d-EAAeGwJedwSGumAua</ seller_open_uid > < gmt_create >2022-03-16 14:00:00</ gmt_create > </ data > < error_msg >参数错误</ error_msg > < status >true</ status > </ alibaba_tbdx_saasclass_ebook_item_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|