api/WIPCompletionsEntry/Create (POST)
Creates a new WIP Completions Entry Transaction using the supplied creation data.
HTTP Method: POST
Required Fields: JOB_ID
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns the created WIP Completions Entry Transaction.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| RequestData | This is a JSON object containing WIP Completions Entry Transaction creation data.
Create WIP Completions Entry Transaction Example:
{
"JOB_ID": "000958",
"ACTION_TYPE": "TC",
"FROM_TASK": "10",
"STORES_CODE": "MS",
"QUANTITY": "5",
"SERIAL_NUMBER": "JX00005140:JX00005143,JX00005145"
}
Returns 1 WIP Completions Entry 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 WIP Completions Entry Fields:
ACTION_DATE, ACTION_TYPE, BATCH_NUMBER, EXPIRE_DATE,
FROM_TASK, GL_MONTH, GL_YEAR, JOB_ID,
LOT_ID, MULTI_LOC, QUANTITY, REASON_CODE,
REFERENCE, SERIAL_NUMBER, STOCK_LOCATION, STORES_CODE,
TO_JOB_ID, TO_TASK |
Define this parameter in the request body. |
Response Information
Success:200/OK
Body contains JSON object with created WIP Completions 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 WIP Completions Entry Fields:
ACTION_DATE, ACTION_TYPE, BATCH_NUMBER, DELIVER_TO, EXPIRE_DATE, FROM_TASK, GL_MONTH, GL_YEAR, JOB_DESC, JOB_ID, JOB_UM, LOT_ID, MULTI_LOC, ON_HAND_QTY, PART_DESC, PART_ID, QUANTITY, REASON_CODE, REFERENCE, SERIAL_NUMBER, STOCK_LOCATION, STORES_CODE, TASK_DESC, TO_JOB_ID, TO_TASK, TOTAL_STD_COST, TXNS_ACCEPTED