api/StoresTransfer/Create (POST)

Creates a new Stores Transfer Transaction using the supplied creation data.
HTTP Method: POST
Required Fields: PART_ID, FROM_STORES, TO_STORES, QUANTITY
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns the created Stores Transfer Transaction.

Request Information

Parameters

NameDescriptionAdditional information
RequestData
This is a JSON object containing Stores Transfer Transaction creation data.

Create Stores Transfer Transaction Example:
{
  "PART_ID": "MOTOR003",
  "FROM_STORES": "RE",
  "FROM_LOCATION": "ISLE 7/SHELF 4",
  "TO_STORES": "MA",
  "TO_LOCATION": "ISLE 3/SHELF 2",
  "QUANTITY": "5",
  "SERIAL_NUMBER": "GC00004057:GC00004060,GC00004062"
}
Returns 1 Stores Transfer Transaction if successful.

SERIAL_NUMBER can contain a single Serial Number.
SERIAL_NUMBER can contain multiple Serial Numbers separated by commas.
SERIAL_NUMBER can contain a range of Serial Numbers separated by a colon.
SERIAL_NUMBER can contain any combination of ranges and single Serial Numbers spearated by commas.

Accepted Stores Transfer Fields:
ACTION_DATE, ACTION_TYPE, BATCH_NUMBER, FROM_LOCATION, 
FROM_STORES, IA_REASON, LOT_ID, PART_ID, 
QUANTITY, REFERENCE, SERIAL_NUMBER, TO_LOCATION, 
TO_MULTI_LOC, TO_STORES

Define this parameter in the request body.

Response Information

Success:
200/OK
Body contains JSON object with created Stores Transfer Transaction.

Error:
400/Request JSON is invalid.
401/AuthToken was not provided.
401/AuthToken is malformed.
401/AuthToken is expired.
401/AuthToken login failure.
500/(Message)
Body contains JSON object with Message and MessageCode.

Returned Stores Transfer Fields:
ACTION_DATE, ACTION_TYPE, BATCH_NUMBER, FROM_LOCATION, FROM_MULTI_LOC, FROM_ON_HAND, FROM_STORES, IA_REASON, LOT_ID, PART_DESC, PART_ID, PART_UM, QTY_OLD, QUANTITY, REFERENCE, SERIAL_NUMBER, TO_LOCATION, TO_MULTI_LOC, TO_ON_HAND, TO_STORES, TOTAL_STD_COST, TXNS_ACCEPTED