GET api/UsableStock?channelCode={channelCode}&lastModDate={lastModDate}&FilterChannelCode={FilterChannelCode}
获得所有实际、占用、可用库存
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
channelCode |
指定渠道编号 |
string |
Default value is |
lastModDate |
最后修改时间(Long) |
string |
Default value is |
FilterChannelCode |
过滤渠道编号 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
SearchInfoOfUsableStockName | Description | Type | Additional information |
---|---|---|---|
Flag | string |
None. |
|
DataInfo | Collection of UsableStock |
None. |
|
ErrMessage | string |
None. |
Response Formats
application/json, text/json
示例:
{ "flag": "sample string 1", "dataInfo": [ { "channelCode": "sample string 1", "barcode": "sample string 2", "stocks": 3, "lockStocks": 4, "usableStocks": 5, "lastModDate": "sample string 6" }, { "channelCode": "sample string 1", "barcode": "sample string 2", "stocks": 3, "lockStocks": 4, "usableStocks": 5, "lastModDate": "sample string 6" } ], "errMessage": "sample string 2" }
application/xml, text/xml
示例:
<SearchInfoOfUsableStock1BnT7MtB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/F360Service.Models"> <DataInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/F360Service.Models.UsableStock"> <d2p1:UsableStock> <d2p1:Barcode>sample string 2</d2p1:Barcode> <d2p1:ChannelCode>sample string 1</d2p1:ChannelCode> <d2p1:LastModDate>sample string 6</d2p1:LastModDate> <d2p1:LockStocks>4</d2p1:LockStocks> <d2p1:Stocks>3</d2p1:Stocks> <d2p1:UsableStocks>5</d2p1:UsableStocks> </d2p1:UsableStock> <d2p1:UsableStock> <d2p1:Barcode>sample string 2</d2p1:Barcode> <d2p1:ChannelCode>sample string 1</d2p1:ChannelCode> <d2p1:LastModDate>sample string 6</d2p1:LastModDate> <d2p1:LockStocks>4</d2p1:LockStocks> <d2p1:Stocks>3</d2p1:Stocks> <d2p1:UsableStocks>5</d2p1:UsableStocks> </d2p1:UsableStock> </DataInfo> <ErrMessage>sample string 2</ErrMessage> <Flag>sample string 1</Flag> </SearchInfoOfUsableStock1BnT7MtB>