api/BackflushKitIssue/Create (POST)

Creates a new Backflush Kit Issue Transaction using the supplied creation data.
HTTP Method: POST
Required Fields: ASSEMBLY_ID, DEPARTMENT, ACCOUNT
Requires an Authentication Token in the AuthToken HTTP header. Authentication Tokens are obtained from api/Security/Login (POST).
Returns the created Backflush Kit Issue Transaction.

It is not strictly necessary to include the BackflushKitIssueComponent array in the request JSON. However, this array should be used if it is necessary to specify a LOT_ID, STOCK_LOCATION or SERIAL_NUMBER for any of the Components. It is only necessary to list the Components for which you need to specify any of these items. All eligible Components will be included in the transaction automatically.

All transacted Components are listed in the BackflushKitIssueComponent array in the response JSON.

Request Information

Parameters

NameDescriptionAdditional information
RequestData
This is a JSON object containing Backflush Kit Issue Transaction creation data.

Create Backflush Kit Issue Transaction Example:
{
  "BackflushKitIssue": {
    "ASSEMBLY_ID": "MOTOR003",
    "COMPLETED_QTY": "5",
    "TO_STORES": "MA",
    "TO_LOCATION": "ISLE 3/SHELF 2",
    "DEPARTMENT": "0",
    "ACCOUNT": "300",
    "SERIAL_NUMBER": "GC00004057:GC00004060,GC00004062"
  },
  "BackflushKitIssueComponent": [
    {
      "COMPONENT_ID": "MOUNT007",
      "LOT_ID": "MTR3-007-42",
      "STOCK_LOCATION": "ISLE 12/SHELF 1",
      "SERIAL_NUMBER": "JX00005140:JX00005143,JX00005145"
    }
  ]
}
Returns 1 Backflush Kit Issue 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 Backflush Kit Issue Fields:
ACCOUNT, ACTION_DATE, ASSEMBLY_ID, ASSEMBLY_LOT, 
BATCH_NUMBER, COMPLETED_QTY, DEPARTMENT, EFFECTIVE_DATE, 
EXPIRE_DATE, INCLUDE_SCRAP, KIT_STORES, TO_LOCATION, 
TO_STORES, REFERENCE, SERIAL_NUMBER

Define this parameter in the request body.

Response Information

Success:
200/OK
Body contains JSON object with created Backflush Kit Issue 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 Backflush Kit Issue Fields:
ACCOUNT, ACTION_DATE, ACTION_TYPE, ASSEMBLY_ID, ASSEMBLY_LOT, BATCH_NUMBER, DEPARTMENT, EFFECTIVE_DATE, EXPIRE_DATE, INCLUDE_SCRAP, KIT_STORES, PART_DESC, PART_UM, REFERENCE, SERIAL_NUMBER, TO_LOCATION, TO_STORES, TXNS_ACCEPTED