POST api/SIMS/TransferLocation?companyKey={companyKey}

Transfers stock from one location to another.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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


Request Formats

application/json, text/json

Sample:
[
  {
    "StockCode": "sample string 1",
    "LocationFrom": "sample string 2",
    "LocationTo": "sample string 3",
    "Quantity": 4,
    "BatchRef": "sample string 5",
    "LocTran": "sample string 6"
  },
  {
    "StockCode": "sample string 1",
    "LocationFrom": "sample string 2",
    "LocationTo": "sample string 3",
    "Quantity": 4,
    "BatchRef": "sample string 5",
    "LocTran": "sample string 6"
  }
]

Response Information

Resource Description

The operation's result. Returns empty if successful, error message if not.

TransferLocationResult
NameDescriptionTypeAdditional information
ErrorMessage

The message returned in case of an error.

string

N/A

Response Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1"
}