POST api/Pos/Setting/Depot/T/Check/Start
设置一个仓库开始盘点。
Request Information
URI Parameters
None.
Body Parameters
开始盘点的参数。
PosDepotStartCheckParmName | Description | Type | Additional information |
---|---|---|---|
DepotId |
仓库的ID |
string |
Required Max length: 4 |
ExpectEndTime |
预计的结束时间 |
date |
Required |
ChkAllProduct |
是否盘点全部,'1'表示是,当此值为是时,@PRODUCTLIST不被采信,否则PRODUCTLIST必须有数据 |
string |
Required Max length: 1 |
HasInventoryOnly |
是否仅盘点有库存的商品,0表示否,1表示是 |
string |
Required Max length: 1 |
ProductList |
计划盘点的商品的清单 |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DepotId": "sample string 1", "ExpectEndTime": "2025-01-22T02:36:35.893837+08:00", "ChkAllProduct": "sample string 3", "HasInventoryOnly": "sample string 4", "ProductList": [ 1, 2 ] }
application/xml, text/xml
Sample:
<PosDepotStartCheckParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <ChkAllProduct>sample string 3</ChkAllProduct> <DepotId>sample string 1</DepotId> <ExpectEndTime>2025-01-22T02:36:35.893837+08:00</ExpectEndTime> <HasInventoryOnly>sample string 4</HasInventoryOnly> <ProductList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ProductList> </PosDepotStartCheckParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
设置一个仓库开始盘点。
CommonOperationResultWithTagOfInt64Name | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": 3 }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>3</tag> </CommonOperationResultWithTagOflong>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.