采购入库按日按月查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param | BrandPurchaseSaleStockReq | 必须 | 系统自动生成 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | PagedResult | 返回的翻页信息 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlihealthBrandPurchaseQueryRequest req = new AlibabaAlihealthBrandPurchaseQueryRequest(); AlibabaAlihealthBrandPurchaseQueryRequest.BrandPurchaseSaleStockReq obj1 = new AlibabaAlihealthBrandPurchaseQueryRequest.BrandPurchaseSaleStockReq(); obj1.setMonth( "2020-01" ); obj1.setDay( "2020-01-01" ); obj1.setCycleType( "day" ); obj1.setBrandKey( "GSK" ); obj1.setPageSize(1L); obj1.setPageNum(20L); obj1.setMerchantCode( "healthy" ); req.setParam(obj1); AlibabaAlihealthBrandPurchaseQueryResponse 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 | < alibaba_alihealth_brand_purchase_query_response > < result > < data_list > < brand_purchase_sale_stock_res > < co_quantity >1</ co_quantity > < inbound_quantity >1</ inbound_quantity > < ro_quantity >1</ ro_quantity > < bar_code >1234</ bar_code > < brand_id >12</ brand_id > < item_name >test</ item_name > < item_id >212</ item_id > < manufacturer >法国GlaxoWellcomeProduction</ manufacturer > < sc_itm_desc >50ug#3B250ug*60泡/盒</ sc_itm_desc > < merchant_code >healthy</ merchant_code > < company_name >阿里健康大药房</ company_name > < basic_unit >盒</ basic_unit > </ brand_purchase_sale_stock_res > </ data_list > < success >true</ success > < page_index >1</ page_index > < page_size >20</ page_size > < current_page >1</ current_page > < total_count >12</ total_count > < total_page >1</ total_page > < error_code >500</ error_code > < error_message >error</ error_message > < error_detail_msg >error msg</ error_detail_msg > </ result > </ alibaba_alihealth_brand_purchase_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|