日历库存分时明细
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
jk_item_id | String | 必须 | 1234 | 健康商品id | |
jk_store_id | String | 必须 | 2345 | 门店id | |
inventory_date | String | 必须 | 2021-12-17 | 库存日期 | |
source | String | 必须 | ITEM | 请求来源 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | InventoryTimesliceVO | 结果 | |
|
|||
msg_info | String | 请求成功 | 错误信息 |
msg_code | String | SUCCESS | 错误码 |
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlihealthMedicalChannelInventoryTimesliceQueryRequest req = new AlibabaAlihealthMedicalChannelInventoryTimesliceQueryRequest(); req.setJkItemId( "1234" ); req.setJkStoreId( "2345" ); req.setInventoryDate( "2021-12-17" ); req.setSource( "ITEM" ); AlibabaAlihealthMedicalChannelInventoryTimesliceQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | < alibaba_alihealth_medical_channel_inventory_timeslice_query_response > < data > < inventory_date >2021-12-17</ inventory_date > < time_slice_inventory_info_list > < time_slice_inventory_info > < time_slice_start >10:00:00</ time_slice_start > < time_slice_end >10:30:00</ time_slice_end > < total_amount >20</ total_amount > < used_amount >12</ used_amount > </ time_slice_inventory_info > </ time_slice_inventory_info_list > </ data > < msg_info >请求成功</ msg_info > < msg_code >SUCCESS</ msg_code > </ alibaba_alihealth_medical_channel_inventory_timeslice_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 > |
错误码 | 错误描述 | 解决方案 |
---|