Kit Issue API

Kit Issue

Kit Issue API is used to issue parts from a warehouse into a Kit

URL-{Root URL}/API/Kit/Issue?{API Key}

Parameters

Parameter  Description Required Comment
WoNo  Work Order Number N  
KASEQNUM Unique Kitting Record Identifier  
WKey Pick From Warehouse Key   
PickQty Amount Being Picked Y  
IssuedSerialNo Serial Number for Picked Part N Required if part is serialized
IssuedSerialUniq  Unique Serial identifier  N Can be used in place of IssuedSerialNo
overIssuedSerialNo Serial Number for over-issued quantity N Only required if there is over-issued quantity
overIssuedSerialUniq Unique Serial identifier for over-issued quantity Only required if there is over-issued quantity
lotCode  Lot Code N Required if the part is lot coded
expDate Expiration Date and time N Required if the part is Lot Coded Format example: 2018-08-08 00:00:00
REFERENCE Issued Reference N Required if the part is Lot Coded Format Example: month/day/year
poNum Purchase Order Number N Part of the Lotcode Identification. Will not be empty if part was received by Purchase Order. But, can be left empty if the part was received by the way of general receiving. 
IpKeyUnique IP Key N

Example Strings

Kit Issue

URL-?KASEQNUM=KASEQNUM&WKey=WKEY&PickQty=QTY

JSON

{

'KASEQNUM':'KASEQNUM',

'WKey':'WKEY',

'PickQty':'QTY'

}

A successful request returns the following

{

"$id": "1",

"Code": 200,

"Message": "Kit issue successfull.",

"SessionId": null,

"IsValidUser": true,

"ResponseObject": null

}

Common Errors

URL Error

If there is an issue with the URL the system should return an error message showing that there is a problem with the URL

{

"$id": "1",

"Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/Kit/Pick/123456789'.",

"MessageDetail": "No action was found on the controller 'Kit' that matches the request."

}

Not Enough Quantity

If there is not enough quantity in the warehouse to issue the system will return a "Not Enough Quantity" Error

{

"$id": "1",

"Code": 403,

"Message": "Failed:Not enough quantity to pick.",

"SessionId": null,

"IsValidUser": true,

"ResponseObject": null

}

Incorrect Parameter

If one of the parameters entered is incorrect then the system will return an error code describing which parameter has the error.

{

"$id": "1",

"Code": 403,

"Message": "Failed:KaMain record does not exists for Kaseqnum provided.",

"SessionId": null,

"IsValidUser": true,

"ResponseObject": null

}