RegentWarehouse
Click here for a complete list of operations.
GetStocktakeList
得到盘点列表。
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /smpos/sposwebservice/RegentWarehouse.asmx HTTP/1.1
Host: 122.224.183.250
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetStocktakeList"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<CredentialSoapHeader xmlns="http://tempuri.org/">
<UserName>string</UserName>
<Password>string</Password>
</CredentialSoapHeader>
</soap:Header>
<soap:Body>
<GetStocktakeList xmlns="http://tempuri.org/">
<filter>
<CompareType>Like or Equels</CompareType>
<PdTimes>string</PdTimes>
<StocktakeId>string</StocktakeId>
<ManualId>string</ManualId>
<Shop>string</Shop>
<ShopAbbrev>string</ShopAbbrev>
<Warehouse_No>string</Warehouse_No>
<Warehouse_Na>string</Warehouse_Na>
<BeginDate>dateTime</BeginDate>
<BeginInputDate>dateTime</BeginInputDate>
<BeginPostedDate>dateTime</BeginPostedDate>
<EndDate>dateTime</EndDate>
<EndInputDate>dateTime</EndInputDate>
<EndPostedDate>dateTime</EndPostedDate>
<MakerId>string</MakerId>
<MakerName>string</MakerName>
<PostedUser>string</PostedUser>
<PostedUserName>string</PostedUserName>
<PostedState>Posted or Unposted or All</PostedState>
<Remark>string</Remark>
<Type>int</Type>
<UserNo>string</UserNo>
<GoodsNo>string</GoodsNo>
<IsEditRight>boolean</IsEditRight>
<IsAgent>boolean</IsAgent>
</filter>
<returnId>int</returnId>
<returnMessage>string</returnMessage>
</GetStocktakeList>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetStocktakeListResponse xmlns="http://tempuri.org/">
<GetStocktakeListResult>
<Stocktake>
<ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
<BillDetail3>
<BillDetail3 xsi:nil="true" />
<BillDetail3 xsi:nil="true" />
</BillDetail3>
<BillDetail2>
<BillDetail2 xsi:nil="true" />
<BillDetail2 xsi:nil="true" />
</BillDetail2>
<PdTimes>string</PdTimes>
<StocktakeId>string</StocktakeId>
<UserId>string</UserId>
<UserName>string</UserName>
<WarehouseId>string</WarehouseId>
<WarehouseName>string</WarehouseName>
<StocktakeDate>dateTime</StocktakeDate>
<InputDate>dateTime</InputDate>
<Posted>boolean</Posted>
<PostedUser>string</PostedUser>
<PostedUserName>string</PostedUserName>
<PostedDate>dateTime</PostedDate>
<ManualId>string</ManualId>
<Remark>string</Remark>
<Type>int</Type>
<CustomerId>string</CustomerId>
<CustomerAbbrev>string</CustomerAbbrev>
<JiZhang>boolean</JiZhang>
</Stocktake>
<Stocktake>
<ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
<BillDetail3>
<BillDetail3 xsi:nil="true" />
<BillDetail3 xsi:nil="true" />
</BillDetail3>
<BillDetail2>
<BillDetail2 xsi:nil="true" />
<BillDetail2 xsi:nil="true" />
</BillDetail2>
<PdTimes>string</PdTimes>
<StocktakeId>string</StocktakeId>
<UserId>string</UserId>
<UserName>string</UserName>
<WarehouseId>string</WarehouseId>
<WarehouseName>string</WarehouseName>
<StocktakeDate>dateTime</StocktakeDate>
<InputDate>dateTime</InputDate>
<Posted>boolean</Posted>
<PostedUser>string</PostedUser>
<PostedUserName>string</PostedUserName>
<PostedDate>dateTime</PostedDate>
<ManualId>string</ManualId>
<Remark>string</Remark>
<Type>int</Type>
<CustomerId>string</CustomerId>
<CustomerAbbrev>string</CustomerAbbrev>
<JiZhang>boolean</JiZhang>
</Stocktake>
</GetStocktakeListResult>
<returnId>int</returnId>
<returnMessage>string</returnMessage>
</GetStocktakeListResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /smpos/sposwebservice/RegentWarehouse.asmx HTTP/1.1
Host: 122.224.183.250
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<CredentialSoapHeader xmlns="http://tempuri.org/">
<UserName>string</UserName>
<Password>string</Password>
</CredentialSoapHeader>
</soap12:Header>
<soap12:Body>
<GetStocktakeList xmlns="http://tempuri.org/">
<filter>
<CompareType>Like or Equels</CompareType>
<PdTimes>string</PdTimes>
<StocktakeId>string</StocktakeId>
<ManualId>string</ManualId>
<Shop>string</Shop>
<ShopAbbrev>string</ShopAbbrev>
<Warehouse_No>string</Warehouse_No>
<Warehouse_Na>string</Warehouse_Na>
<BeginDate>dateTime</BeginDate>
<BeginInputDate>dateTime</BeginInputDate>
<BeginPostedDate>dateTime</BeginPostedDate>
<EndDate>dateTime</EndDate>
<EndInputDate>dateTime</EndInputDate>
<EndPostedDate>dateTime</EndPostedDate>
<MakerId>string</MakerId>
<MakerName>string</MakerName>
<PostedUser>string</PostedUser>
<PostedUserName>string</PostedUserName>
<PostedState>Posted or Unposted or All</PostedState>
<Remark>string</Remark>
<Type>int</Type>
<UserNo>string</UserNo>
<GoodsNo>string</GoodsNo>
<IsEditRight>boolean</IsEditRight>
<IsAgent>boolean</IsAgent>
</filter>
<returnId>int</returnId>
<returnMessage>string</returnMessage>
</GetStocktakeList>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetStocktakeListResponse xmlns="http://tempuri.org/">
<GetStocktakeListResult>
<Stocktake>
<ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
<BillDetail3>
<BillDetail3 xsi:nil="true" />
<BillDetail3 xsi:nil="true" />
</BillDetail3>
<BillDetail2>
<BillDetail2 xsi:nil="true" />
<BillDetail2 xsi:nil="true" />
</BillDetail2>
<PdTimes>string</PdTimes>
<StocktakeId>string</StocktakeId>
<UserId>string</UserId>
<UserName>string</UserName>
<WarehouseId>string</WarehouseId>
<WarehouseName>string</WarehouseName>
<StocktakeDate>dateTime</StocktakeDate>
<InputDate>dateTime</InputDate>
<Posted>boolean</Posted>
<PostedUser>string</PostedUser>
<PostedUserName>string</PostedUserName>
<PostedDate>dateTime</PostedDate>
<ManualId>string</ManualId>
<Remark>string</Remark>
<Type>int</Type>
<CustomerId>string</CustomerId>
<CustomerAbbrev>string</CustomerAbbrev>
<JiZhang>boolean</JiZhang>
</Stocktake>
<Stocktake>
<ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
<BillDetail3>
<BillDetail3 xsi:nil="true" />
<BillDetail3 xsi:nil="true" />
</BillDetail3>
<BillDetail2>
<BillDetail2 xsi:nil="true" />
<BillDetail2 xsi:nil="true" />
</BillDetail2>
<PdTimes>string</PdTimes>
<StocktakeId>string</StocktakeId>
<UserId>string</UserId>
<UserName>string</UserName>
<WarehouseId>string</WarehouseId>
<WarehouseName>string</WarehouseName>
<StocktakeDate>dateTime</StocktakeDate>
<InputDate>dateTime</InputDate>
<Posted>boolean</Posted>
<PostedUser>string</PostedUser>
<PostedUserName>string</PostedUserName>
<PostedDate>dateTime</PostedDate>
<ManualId>string</ManualId>
<Remark>string</Remark>
<Type>int</Type>
<CustomerId>string</CustomerId>
<CustomerAbbrev>string</CustomerAbbrev>
<JiZhang>boolean</JiZhang>
</Stocktake>
</GetStocktakeListResult>
<returnId>int</returnId>
<returnMessage>string</returnMessage>
</GetStocktakeListResponse>
</soap12:Body>
</soap12:Envelope>