品牌方查询采购信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
channel_stock_export_query | ChannelStockExportQuery | 必须 | 入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | JkPageResult | 返回对象 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlihealthSupplierChannelstockQueryRequest req = new AlibabaAlihealthSupplierChannelstockQueryRequest(); AlibabaAlihealthSupplierChannelstockQueryRequest.ChannelStockExportQuery obj1 = new AlibabaAlihealthSupplierChannelstockQueryRequest.ChannelStockExportQuery(); obj1.setGmtMonth(2L); obj1.setGmtYear(2020L); obj1.setPageSize(100L); obj1.setBrandIdentity("GSK"); obj1.setPageNum(1L); req.setChannelStockExportQuery(obj1); AlibabaAlihealthSupplierChannelstockQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_alihealth_supplier_channelstock_query_response> <result> <total_page>11123</total_page> <success>true</success> <item_list> <alihealth_channel_stock_statistic_dto> <gmt_modified>1585605913000</gmt_modified> <supplier_id>800000000002739</supplier_id> <cate_level2_name>OTC药品</cate_level2_name> <sfcate4_name>demo</sfcate4_name> <spec>45ml*1瓶/盒</spec> <gmt_month>3</gmt_month> <sfcate3_name>demo</sfcate3_name> <cate_level4_name>demo</cate_level4_name> <sc_item_name>西藏药业 雪山金罗汉止痛涂膜剂 45ml*1瓶/盒 标准装</sc_item_name> <cate_level3_name>风湿骨外伤</cate_level3_name> <store_name>三山仓</store_name> <id>2858813</id> <class_name>com.alibaba.health.scm.service.dto.brand.AlihealthChannelStockStatisticDTO</class_name> <biz_status>1</biz_status> <supplier_name>广东丰顺健安医药有限公司</supplier_name> <sfcate2_name>风湿骨外伤</sfcate2_name> <sf_cate3_id>demo</sf_cate3_id> <brand_name>西藏药业</brand_name> <sf_cate4_id>demo</sf_cate4_id> <quantity>95</quantity> <order_no>CO20022515061924880641</order_no> <sf_cate1_id>72120003</sf_cate1_id> <sf_cate2_id>72260004</sf_cate2_id> <cate_level5_name>demo</cate_level5_name> <sc_item_id>549980082187</sc_item_id> <gmt_finish>1582992081000</gmt_finish> <gmt_create>1585605913000</gmt_create> <cate_level1_name>OTC药品/国际医药</cate_level1_name> <cate_level3_id>122256002</cate_level3_id> <cate_level2_id>50023720</cate_level2_id> <sfcate1_name>OTC药品</sfcate1_name> <cate_level5_id>demo</cate_level5_id> <cate_level4_id>demo</cate_level4_id> <brand_id>14135365</brand_id> <cate_level1_id>201273575</cate_level1_id> <biz_type>8000</biz_type> </alihealth_channel_stock_statistic_dto> </item_list> <page_size>5</page_size> <sys_error_code>demo</sys_error_code> <has_next>true</has_next> <total_rows>55614</total_rows> <class_name>com.alibaba.health.scm.service.dto.zydprice.JkPageResult</class_name> <page_num>1</page_num> <sys_error_msg>demo</sys_error_msg> </result> </alibaba_alihealth_supplier_channelstock_query_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|