Multiple Location, Create
Creates a new Multiple Location using the supplied data and returns the details of the created Multiple Location.
URL
/api/multiple-location-create
Request Method
POST
Expandable Program
Multiple Location Editor (MLEML)
Required Fields
STORES_CODE
PART_ID
STOCK_LOCATION
AUTH_TOKEN
PART_ID
STOCK_LOCATION
AUTH_TOKEN
Auth Token
This API call requires an Authentication Token ("Auth Token") for the required field AUTH_TOKEN. Auth Tokens are obtained from Auth Token, Get.
Example Request JSON
{
"STORES_CODE": "MS",
"PART_ID": "MOTOR003",
"STOCK_LOCATION": "ISLE 5/SHELF 2",
"AUTH_TOKEN": ""
}
Full Request JSON
{
"STORES_CODE": "",
"PART_ID": "",
"STOCK_LOCATION": "",
"MLFML_USER_1": "",
"MLFML_USER_2": "",
"MLFML_USER_3": "",
"MLFML_USER_4": "",
"AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:
200/OK
Returned JSON contains the successfully created Multiple Location:
200/OK
Returned JSON contains the successfully created Multiple Location:
{
"STORES_CODE": "",
"PART_ID": "",
"STOCK_LOCATION": "",
"ON_HAND_QTY": "",
"BOOK_QTY": "",
"PHYSICAL_QTY": "",
"DATE_LAST_ACT": "",
"DATE_LAST_RECPT": "",
"DATE_LAST_ISSUE": "",
"DATE_LAST_PHY": "",
"DATE_LAST_PRINT": "",
"MLFML_USER_1": "",
"MLFML_USER_2": "",
"MLFML_USER_3": "",
"MLFML_USER_4": "",
"CREATED_BY": "",
"DATE_CREATED": "",
"MODIFIED_BY": "",
"DATE_MODIFIED": "",
"OPERATOR_ID": "",
"DATE_LAST_UPDT": "",
"TIME_LAST_UPDT": ""
}
Failure Response
Returned HTTP status indicates failure:
400/Request JSON is invalid.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)
Returned JSON contains error information for the failed Multiple Location creation:
400/Request JSON is invalid.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)
Returned JSON contains error information for the failed Multiple Location creation:
{
"MESSAGE": "",
"MESSAGE_CODE": ""
}
