api/AdjustmentsEntry/Create (POST)
Creates a new Adjustments Entry Transaction using the supplied creation data.
HTTP Method: POST
Required Fields: PART_ID, STORES_CODE, QUANTITY
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns the created Adjustments Entry Transaction.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| RequestData | This is a JSON object containing Adjustments Entry Transaction creation data.
Create Adjustments Entry Transaction Example:
{
"PART_ID": "MOTOR003",
"STORES_CODE": "MA",
"STOCK_LOCATION": "ISLE 3/SHELF 2",
"QUANTITY": "5"
}
Returns 1 Adjustment Entry Transaction if successful.
Accepted Adjustments Entry Fields:
ACCOUNT, ACTION_DATE, ATTACHMENTS, BATCH_NUMBER,
DEPARTMENT, IA_REASON, ICFIT_USER_1, ICFIT_USER_2,
ICFIT_USER_3, ICFIT_USER_4, ICFIT_USER_5, ICFIT_USER_6,
ICFIT_USER_7, ICFIT_USER_8, ICFIT_USER_9, ICFIT_USER_10,
LOT_ID, MULTI_LOC, NOTE_TEXT, PART_ID,
QUANTITY, REFERENCE, STOCK_LOCATION, STORES_CODE |
Define this parameter in the request body. |
Response Information
Success:200/OK
Body contains JSON object with created Adjustments Entry 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 Adjustments Entry Fields:
ACCOUNT, ACTION_DATE, ACTION_TYPE, ATTACHMENTS, BATCH_NUMBER, COMPANY_ID, DEPARTMENT, IA_REASON, ICFIT_USER_1, ICFIT_USER_2, ICFIT_USER_3, ICFIT_USER_4, ICFIT_USER_5, ICFIT_USER_6, ICFIT_USER_7, ICFIT_USER_8, ICFIT_USER_9, ICFIT_USER_10, LOT_ID, MULTI_LOC, NOTE_TEXT, ON_HAND_QTY, PART_DESC, PART_ID, PART_STATUS, PART_TYPE, PART_UM, QTY_OLD, QUANTITY, REFERENCE, STOCK_LOCATION, STORES_CODE, TOTAL_STD_COST, TXNS_ACCEPTED