POST TCPv1/stock/StockTake/Save?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
StockSave| Name | Description | Type | Additional information |
|---|---|---|---|
| StockTakeID | integer |
None. |
|
| ProductID | integer |
None. |
|
| BatchID | integer |
None. |
|
| BatchNo | string |
None. |
|
| StoreID | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| Quantity | integer |
None. |
|
| ProcessID | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"StockTakeID": 1,
"ProductID": 2,
"BatchID": 3,
"BatchNo": "sample string 4",
"StoreID": 5,
"CreatedBy": 6,
"Quantity": 7,
"ProcessID": true
}
application/xml, text/xml
Sample:
<StockSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.PurchaseOrder"> <BatchID>3</BatchID> <BatchNo>sample string 4</BatchNo> <CreatedBy>6</CreatedBy> <ProcessID>true</ProcessID> <ProductID>2</ProductID> <Quantity>7</Quantity> <StockTakeID>1</StockTakeID> <StoreID>5</StoreID> </StockSave>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |