Function

  

The Purchase Order (PO) Item Get API is used to get information about the items on existing POs.


  

URL

   

{Root URL}/PO/ItemGet/{API Key}

   

  

Parameters

    


Parameter DescriptionRequiredComment
1poNumPurchase order numberN 
2supplierNameSupplier nameNCan be used to sort POs by supplier.
3
uniqsupnoSupplier identification numberNCan be used in place of the supplier name.
4partNoPart numberNCan be used to sort POs by part.
5revisionPart revisionNUsed alongside partNo.
6uniqKeyPart unique identifierNCan be used in place of part number and revision.
7uniqlnno  
8poStatusPurchase order status NCan be open, canceled, or closed.
9mfgrPtNoManufacturer part number Can be used to sort POs by manufacturer part number.
10partmfgrPart manufacturerNCan be used to sort POs by Manufacturer.
11withBalancePOs with balanceNCan be "true" or "false."
12receivedPO receivedNCan be "true" or "false."
13scheduledPriorTo  

  

   

Example Strings

  

PO Item Get

  

URL

  

?PoNum=PONUMBER

  

  

JSON

 

{

"PoNum":"PONUMBER"

}

  

  

A successful request should return the following:

  

{

"$id": "1",

"Code": "200",

"Message": "PO Items details:",

"SessionId": "null",

"IsValidUser": "true",

"-ResponseObject: "["

-{

"$id: "2",

"UNIQLNNO": "_1ZM0LAXRD",

"PONUM": "000000000001749",

"UNIQ_KEY": "_4750SWEOD",

"ITEMNO": "001",

"COSTEACH": "0.88",

"ORD_QTY": "100",

"RECV_QTY": "0",

"REJ_QTY": "0",

"ACPT_QTY": "0",

"NOTE1": "",

"IS_TAX": "false",

"TAX_PCT": "0",

"IS_CONTR": "false",

"OVERAGE": "5",

"POITTYPE": "Invt Part",

"L_PRINT": "false",

"NO_PKG": "0",

"DESCRIPT": "",

"PARTMFGR": "GENR",

"MFGR_PT_NO": "",

"PACKAGE": "BULK",

"PART_CLASS:" "",

"PART_TYPE": "",

"U_OF_MEAS": "EACH",

"PUR_UOFM": "EACH",

"S_ORD_QTY": "100",

"ISFIRM": "false",

"UNIQMFGRHD": "_4750SXAYM",

"FIRSTARTICLE": "false",

"INSPEXCEPT": "false",

"INSPEXCEPTION": "",

"INSPEXCINIT": "",

"INSPEXCDT": "null",

"INSPEXCNOTE": "",

"INSPEXCDOC": "",

"LCANCEL": "false",

"UNIQMFSP": "",

"INSPECTIONOTE": "",

"lRemvRcv": "false",

"POSTATUS": "OPEN",

"PODATE": "2014-10-31T13:49:00",

"Part_No": "416-110989",

"Revision": "b",

"Part_Sourc": "BUY",

"Supname": "Romp",

"Status": "APPROVED",

"SUP_TYPE": "INDEPENDENT REP",

"Supid": "0000000005"

}

]

}

  

    

Common Error

  

Not Enough Information

  

If there is not enough data provided or the parameters provided are invalid to retrieve the PO information, the system will return the following error message:

 

{

"$id": "1",

"Code": "403",

"Message": "PO Items details failed:Not enough information to return the data, please provide valid parameters.",

"SessionId": "null",

"IsValidUser": "true",

"ResponseObject": "null"

}