POST TCPv1/stock/transfer?Token={Token}&UserID={UserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
Required |
|
| UserID | integer |
Required |
Body Parameters
StockTransfer| Name | Description | Type | Additional information |
|---|---|---|---|
| storeid | integer |
None. |
|
| reasonid | integer |
None. |
|
| batchno | string |
None. |
|
| expirydate | date |
None. |
|
| issueremarks | string |
None. |
|
| barcode | string |
None. |
|
| ItemsToTransfer | integer |
None. |
|
| fromdepo | integer |
None. |
|
| ssccbarcode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"storeid": 1,
"reasonid": 2,
"batchno": "sample string 3",
"expirydate": "2026-06-08T00:07:33.8590848+01:00",
"issueremarks": "sample string 5",
"barcode": "sample string 6",
"ItemsToTransfer": 7,
"fromdepo": 8,
"ssccbarcode": "sample string 9"
}
application/xml, text/xml
Sample:
<StockTransfer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartTCPWebAPI.Models.HHT"> <ItemsToTransfer>7</ItemsToTransfer> <barcode>sample string 6</barcode> <batchno>sample string 3</batchno> <expirydate>2026-06-08T00:07:33.8590848+01:00</expirydate> <fromdepo>8</fromdepo> <issueremarks>sample string 5</issueremarks> <reasonid>2</reasonid> <ssccbarcode>sample string 9</ssccbarcode> <storeid>1</storeid> </StockTransfer>
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. |