Function

  

The Transfer API is used to transfer items between warehouses.



URL

{Root URL}/API/InventoryHandling/Transfer/{API Key}

  

Parameters



ParameterDescriptionRequiredComment
1fromIpKey


2SerialNo Serial number for the partY/NRequired if the part is serialized.
3part_sourcSource of the partYCan be "BUY," "MAKE," or "CONSG."
4uniq_keyThe identifier for the partY
5part_noPart number you want to transferYPart_no can be used instead of uniq_key.
6revisionPart revision levelNRequired when using part_no and the part has a revision level
7custPartNoCustomer part numberY/N 
8custRevCustomer revision levelNRequired when using custPartNo and if the part has a revision level.
9partMfgrPart manufacturerYUsed to choose the manufacturer of the part when there are multiple manufacturers in the system.
10mfgr_pt_noManufacturer part numberYUsed in place of partMfgr to choose a manufacturer.
11uniqmfgrhdManufacturer IdentificationNUsed in place of partMfgr and mfgr_pt_no to choose a manufacturer.
12fromWarehouseThe warehouse where the item will be transferred fromY
13fromLocationThe location where the part will be transferred fromNUsed when the selected warehouse also has location information assigned to it.
14fromWhNoFrom warehouse numberNChoose transfer from a warehouse by number.
15fromW_KeyFrom unique inventory identifier keyNSelects warehouse, and does not require location information.
16lotCodeLot codeNRequired if the part is lot coded. 
Use the following date format: MM-DD-YYYY.
17expDateExpiration dateNRequired when the part is lot coded.
18internalRefInternal lot referenceNLot code reference. Only needed when the part is lot coded.
19poNumPurchase order numberNOnly needed if the part is lot coded. Not needed unless the part was received through purchasing.
20transferredQuantityQuantity being transferringY
21reasonReason for transferYHere are some examples "ENGINEERING TESTING," "PRODUCTION CALIBRATION," "PRODUCTION TESTING," "PROTOTYPE FOR RESALE," "PROTOTYPE TO BE SCRAPPED," "SPECIAL PROJECTS."
See below for how to add or change your reasons in your system settings.
22WoNoWork order numberNShould remain empty unless created by KIT API.
23TransRefTransaction referenceNThis is a user-defined field.
24toIPKEYTransfer to IPKEYN
25toMRBTransfer Items to MRBNCan be "1" or "0." If "1," then parts will be transferred to MRB, and no other warehouse information is required
26toWarehouseThe warehouse where the items will be transferred toYSelects which warehouse the items will be transferred to. Requires location if the warehouse has location information.
27toLocationWarehouse locationNSelects which location the items will be transferred into. Required if the warehouse has location information available.
28toUniqWhWarehouse unique identifierNCan be used instead of toWarehouse.
29toWhNoTo warehouse numberNCan be used instead of toWhNo.
30toW_KeyWarehouse unique identifierNCan be used in place of toWarehouse, toUniqWh, and toWhNo.

   

Example Strings

No Lot Code, No Serialization

 

URL

?part_sourc=BUY&uniq_key=UNIQKEY&fromW_Key=WKEY&transferredQuantity=1&toW_key=WKEY&reason=SPECIAL PROJECTS&transactionReference=tes

   

JSON

{

"part_sourc":"BUY",

"uniq_key":"UNIQKEY",

"fromW_Key":"WKEY",

"transferedredQuantity":"1",

"toW_Key":"WKEY",

"reason":"SPECIAL PROJECTS"

}


Or

{

"Part_No":"partnumber",

"revision":"revision",

"PARTMFGR":"partmfgr",

"MFGR_PT_NO":"MFGRpartnumber",

"FromWarehouse":"Warehouse",

"FromLocation":"location",

"ToWarehouse":"Warehouse",

"ToLocation":"Location",

"TransferredQuantity":"quantity",

"Part_Sourc":"BUY",

"Reason":"PRODUCTION TESTNG"

}


Lot Code, No Serialization

   

{

"Part_No":"Partnumber",

"revision":"revision",

"PARTMFGR":"PartMFGR",

"MFGR_PT_NO":"MFGRpartnumber",

"FromWarehouse":"warehouse",

"FromLocation":"location",

"TransferredQuantity":"Quantity",

"Part_Sourc":"BUY",

"Reason":"PRODUCTION TESTING",

"lotcode":"Lot Code",

"Expdate":"Expdate",

"Reference":"Reference",

"Ponum":"POnumber"

}




Lot Code, Serialization

  

URL

  

 ?Part_sourc=BUY&uniq_key=UNIQKEY&lotcode=LOTCODE&expDate=MM-DD-YYYY&serialNo=000000000000000000000000000001&fromW_Key=WKEY&toW_Key=WKEY&transferredQuantity=1&reason=PRODUCTION TESTING&transactionReference=REFERENCE

  

JSON

{

"part_sourc":"BUY".

"uniq_key":"UNIQKEY",

"lotcode":"LOTCODE",

"expDate":"MM-DD-YYYY",

"serialNo":"00000000000000000000000000000",

"fromW_Key":"WKEY",

"toW_Key":"WKEY",

"transferredQty":"1",

"reason":"PRODUCTION TESTING",

"Reference":"REFERENCE"

}

  

Transfer to MRB

 

URL

?Part_sourc=BUY&uniq_key=UNIQKEY&fromW_Key=WKEY&toMRB=1&ToUniqwh=Uniqwh&transferredQuantity=10&reason=PROTOTYPE TO BE SCRAPPED&transactionreference=test 

   

JSON

{

"part_sourc":"BUY",

"uniq_key":"UNIQKEY",

"fromW_Key":"WKEY",

"toMRB":"1",

"Uniqwh":"Uniqwh",

"transferredQty":"10",

"reason":"PROTOTYPE TO BE SCRAPPED",

"Reference":"test"

}

     

If successful, each of the above should return the following:

{

"$id":"1",

"Code":"200",

"Message":"Inventory transfer successful.",

"SessionID":"null",

"IsValidUser":"true",

"ResponseObject":"null"

}

    

Common Errors

API Key Error

  

If there is an error with the API Key, the system will return an error describing it:

{

"$id":"1",

"Code":"200",

"Message":"Inventory transfer successful.",

"SessionId":"null",

"IsValidUser":"true",

"ResponseObject":"null"

}

  

Incorrect Parameter

  

If an incorrect parameter value is used, the system will return an error describing the incorrect parameter:

{

"$id": "1",

"Code": "403",

"Message": "Failed:Please provide valid GL_NBR.",

"SessionId": "null",

"IsValidUser": "true",

"ResponseObject": "null"

}

    

URL Error

   

If there is an error within the URL, the system will return an HTTP error:

{

"$id": "1",

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

}

 

  

Here is an example of a successful transfer: 

 



Note: if you were to create a new location when transferring, you will need the to check the following boxes:

In the Inventory Control Management Module, the MFGR that you are creating the new location under needs to have "Allow Auto Creating Location at Receiving" checked.

   


Under SQL Setting, the warehouse you are receiving into also needs "Allow Auto Create Location at Receiving" checked.


Note: you can change, add, or edit your reason under the system settings. See the below image.