PO Item Get API |
Functions
PO Item Get API is used to get information about the items on existing Purchase Orders
URL-{Root URL}/PO/ItemGet/{API Key}
Parameters
Parameter |
Description |
Required |
Comment |
poNum |
Purchase Order Number |
N |
|
supplierName |
Supplier Name |
N |
Can be used to sort POs by supplier |
uniqsupno |
Supplier Identification Number |
N |
Can be used in place of supplier name |
partNo |
Part Number |
N |
Can be used to sort POs by part |
revision |
Part Revision |
N |
Used alongside partNo |
uniqKey |
Part Unique Identifier |
N |
Can be used in place of art number and revision |
uniqlnno |
|
N |
|
poStatus |
Purchase Order Status |
N |
Can be Open, Cancelled, Closed |
mfgrPtNo |
Manufacturer Part Number |
N |
Can be used to sort POs by manufacturer part number |
partmfgr |
Part Manufacturer |
N |
Can be used to sort POs by Manufacturer |
withBalance |
POs with Balace |
N |
Can be true or false |
received |
PO Received |
N |
Can be true or false |
scheduledPriorTo |
|
|
|
Example Strings
Get Item
URL-?PoNum=PONUMBER
JSON
A successful request should return
{
$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 Errors
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
}
|
|