POST api/SIMS/TransferLocation?companyKey={companyKey}
Transfers stock from one location to another.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyKey |
The company name if the service is connected to multiple SIMS companies (Optional) |
string |
Default value is |
Body Parameters
The list of transfer location details
Collection of TransferLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| StockCode |
The stock code of the item to be transferred |
string |
N/A |
| LocationFrom |
The location from which the item will be transferred |
string |
N/A |
| LocationTo |
The location to where the item will be transferred |
string |
N/A |
| Quantity |
The amount of the item which will be transferred |
integer |
N/A |
| BatchRef |
The batch reference number (if applicable) |
string |
N/A |
| LocTran |
The LocTran ID |
string |
N/A |
| Remarks |
Any remarks (memo) related to the transfer |
string |
N/A |
Request Formats
application/json, text/json
[
{
"StockCode": "sample string 1",
"LocationFrom": "sample string 2",
"LocationTo": "sample string 3",
"Quantity": 4,
"BatchRef": "sample string 5",
"LocTran": "sample string 6",
"Remarks": "sample string 7"
},
{
"StockCode": "sample string 1",
"LocationFrom": "sample string 2",
"LocationTo": "sample string 3",
"Quantity": 4,
"BatchRef": "sample string 5",
"LocTran": "sample string 6",
"Remarks": "sample string 7"
}
]
Response Information
Resource Description
The operation's result. Returns empty if successful, error message if not.
TransferLocationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorMessage |
The message returned in case of an error. |
string |
N/A |
Response Formats
application/json, text/json
{
"ErrorMessage": "sample string 1"
}