api/MultipleLocation/Create (POST)
Creates a new Multiple Location using the supplied creation data.
HTTP Method: POST
Required Fields: STORES_CODE, PART_ID, STOCK_LOCATION
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns the created Multiple Location.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| RequestData | This is a JSON object containing Multiple Location creation data.
Create Multiple Location Example:
{
"STORES_CODE": "MS",
"PART_ID": "MOTOR003",
"STOCK_LOCATION": "ISLE 5/SHELF 2"
}
Returns 1 Multiple Location if successful.
This is like 'Insert' in Expandable.
Accepted Multiple Location Fields:
MLFML_USER_1, MLFML_USER_2, MLFML_USER_3, MLFML_USER_4,
PART_ID, STOCK_LOCATION, STORES_CODE |
Define this parameter in the request body. |
Response Information
Success:200/OK
Body contains JSON object with created Multiple Location.
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 Multiple Location Fields:
BOOK_QTY, CREATED_BY, DATE_CREATED, DATE_LAST_ACT, DATE_LAST_ISSUE, DATE_LAST_PHY, DATE_LAST_PRINT, DATE_LAST_RECPT, DATE_LAST_UPDT, DATE_MODIFIED, MLFML_USER_1, MLFML_USER_2, MLFML_USER_3, MLFML_USER_4, MODIFIED_BY, ON_HAND_QTY, PART_ID, PHYSICAL_QTY, STOCK_LOCATION, STORES_CODE, TIME_LAST_UPDT