POST api/POGetOrderItemDetails
Documentation for 'Post'.
Request Information
Request body formats
application/json, text/json
Sample:
{
"POId": 1,
"POItemNum": 2
}
Response Information
Response body formats
application/json, text/json
Sample:
{
"UsingWorktech": true,
"DistributionsList": [
{
"DistribDetails": {
"GL_ACCOUNT_CODE": "sample string 1",
"GL_ACCOUNT_NAME": "sample string 2",
"PO_ID": 3,
"PO_ITEM_NUM": 4,
"PO_DIST_LINE_NUM": 5,
"REQ_ID": 1,
"REQ_ITEM_NUM": 1,
"PO_DIST_INITIAL": "sample string 6",
"W_REQ_YEAR": 1,
"W_REQ_CODE": "sample string 7",
"RPT_DEPT_CODE": "sample string 8",
"CUST_ACCT_NUM": "sample string 9",
"FUND_NUM": 10,
"CLASS_NUM": 11,
"CATEGORY_NUM": 12,
"OBJECT_NUM": 13,
"CC1_CODE": "sample string 14",
"CC2_CODE": "sample string 15",
"CC3_CODE": "sample string 16",
"PO_DIST_QUANTITY": 1.0,
"PO_DIST_PCT": 17.0,
"PO_DIST_AMT": 1.0,
"DEB_LINE_ID": 1,
"CRD_LINE_ID": 1,
"INS_USER": "sample string 18",
"INS_DATE": "2026-05-28T10:50:58.722618-07:00",
"UPD_USER": "sample string 20",
"UPD_DATE": "2026-05-28T10:50:58.722618-07:00",
"ACTVY_CODE": "sample string 22",
"WT_WORK_ORDER": "sample string 23",
"WT_JOB_CODE": "sample string 24",
"WT_ACTIVITY_CODE": "sample string 25",
"WT_OBJECT_CODE": "sample string 26"
},
"CC1_NAME": "sample string 1",
"CC2_NAME": "sample string 2",
"CC3_NAME": "sample string 3"
},
{
"DistribDetails": {
"GL_ACCOUNT_CODE": "sample string 1",
"GL_ACCOUNT_NAME": "sample string 2",
"PO_ID": 3,
"PO_ITEM_NUM": 4,
"PO_DIST_LINE_NUM": 5,
"REQ_ID": 1,
"REQ_ITEM_NUM": 1,
"PO_DIST_INITIAL": "sample string 6",
"W_REQ_YEAR": 1,
"W_REQ_CODE": "sample string 7",
"RPT_DEPT_CODE": "sample string 8",
"CUST_ACCT_NUM": "sample string 9",
"FUND_NUM": 10,
"CLASS_NUM": 11,
"CATEGORY_NUM": 12,
"OBJECT_NUM": 13,
"CC1_CODE": "sample string 14",
"CC2_CODE": "sample string 15",
"CC3_CODE": "sample string 16",
"PO_DIST_QUANTITY": 1.0,
"PO_DIST_PCT": 17.0,
"PO_DIST_AMT": 1.0,
"DEB_LINE_ID": 1,
"CRD_LINE_ID": 1,
"INS_USER": "sample string 18",
"INS_DATE": "2026-05-28T10:50:58.722618-07:00",
"UPD_USER": "sample string 20",
"UPD_DATE": "2026-05-28T10:50:58.722618-07:00",
"ACTVY_CODE": "sample string 22",
"WT_WORK_ORDER": "sample string 23",
"WT_JOB_CODE": "sample string 24",
"WT_ACTIVITY_CODE": "sample string 25",
"WT_OBJECT_CODE": "sample string 26"
},
"CC1_NAME": "sample string 1",
"CC2_NAME": "sample string 2",
"CC3_NAME": "sample string 3"
},
{
"DistribDetails": {
"GL_ACCOUNT_CODE": "sample string 1",
"GL_ACCOUNT_NAME": "sample string 2",
"PO_ID": 3,
"PO_ITEM_NUM": 4,
"PO_DIST_LINE_NUM": 5,
"REQ_ID": 1,
"REQ_ITEM_NUM": 1,
"PO_DIST_INITIAL": "sample string 6",
"W_REQ_YEAR": 1,
"W_REQ_CODE": "sample string 7",
"RPT_DEPT_CODE": "sample string 8",
"CUST_ACCT_NUM": "sample string 9",
"FUND_NUM": 10,
"CLASS_NUM": 11,
"CATEGORY_NUM": 12,
"OBJECT_NUM": 13,
"CC1_CODE": "sample string 14",
"CC2_CODE": "sample string 15",
"CC3_CODE": "sample string 16",
"PO_DIST_QUANTITY": 1.0,
"PO_DIST_PCT": 17.0,
"PO_DIST_AMT": 1.0,
"DEB_LINE_ID": 1,
"CRD_LINE_ID": 1,
"INS_USER": "sample string 18",
"INS_DATE": "2026-05-28T10:50:58.722618-07:00",
"UPD_USER": "sample string 20",
"UPD_DATE": "2026-05-28T10:50:58.722618-07:00",
"ACTVY_CODE": "sample string 22",
"WT_WORK_ORDER": "sample string 23",
"WT_JOB_CODE": "sample string 24",
"WT_ACTIVITY_CODE": "sample string 25",
"WT_OBJECT_CODE": "sample string 26"
},
"CC1_NAME": "sample string 1",
"CC2_NAME": "sample string 2",
"CC3_NAME": "sample string 3"
}
],
"POrderDetails": {
"PO_STAT_CODE_DESC": "sample string 1",
"PO_ID": 2,
"PO_NUMBER": "sample string 3",
"PO_NAME": "sample string 4",
"RPT_DEPT_CODE": "sample string 5",
"SUPP_ACCT_NUM": "sample string 6",
"PO_DATE": "2026-05-28T10:50:58.722618-07:00",
"PO_SHIP_DATE": "2026-05-28T10:50:58.722618-07:00",
"PO_EXPEDITE_DATE": "2026-05-28T10:50:58.722618-07:00",
"PO_COMPLETE_DATE": "2026-05-28T10:50:58.722618-07:00",
"PO_PRINTED_FLAG": "sample string 8",
"PO_TYPE_CODE": "sample string 9",
"PO_STANDING_FLAG": "sample string 10",
"PO_STANDING_END_DATE": "2026-05-28T10:50:58.722618-07:00",
"PO_PRI_CODE": "sample string 11",
"PO_STAT_CODE": "sample string 12",
"PO_DESC": "sample string 13",
"SHIP_TO_CODE": "sample string 14",
"SHIP_VIA": "sample string 15",
"SHIP_FOB_POINT": "sample string 16",
"SUPP_PAYMENT_TERMS": "sample string 17",
"ADDRESS_NAME": "sample string 18",
"STREET1": "sample string 19",
"STREET2": "sample string 20",
"CITY": "sample string 21",
"PROV_STATE_CODE": "sample string 22",
"COUNTRY_CODE": "sample string 23",
"POSTAL_ZIP": "sample string 24",
"PHONE1": "sample string 25",
"PHONE2": "sample string 26",
"SHIP_TO_PAY_CODE": "sample string 27",
"FAX": "sample string 28",
"INS_USER": "sample string 29",
"INS_DATE": "2026-05-28T10:50:58.722618-07:00",
"UPD_USER": "sample string 31",
"UPD_DATE": "2026-05-28T10:50:58.722618-07:00",
"PO_CANCEL_COMPLETE_REASON": "sample string 33",
"PO_COMPLETED_BY": "sample string 34",
"PO_CANCEL_DATE": "2026-05-28T10:50:58.722618-07:00",
"PO_ENTER_USER": "sample string 35",
"PO_APPROV_USER": "sample string 36"
},
"POrderItemHeader": {
"PoId": 1,
"PoItemNum": 2,
"Year": 1,
"Period": 1,
"Milestone": "sample string 3",
"ItemName": "sample string 4",
"SuppPartNum": "sample string 5",
"Quantity": 6.0,
"UnitCost": 7.0,
"Uom": "sample string 8",
"DistribTypeCode": "sample string 9",
"DistribTypeDesc": "sample string 10",
"Amount": 1.0,
"Received": 1.0,
"Returned": 1.0,
"Invoiced": 1.0,
"InvoicedService": 1.0,
"Description": "sample string 11",
"AddedSession": 1,
"AddedReasonCode": "sample string 12",
"ImportedFlag": "sample string 13",
"GstHandlingCode": "sample string 14",
"GstHandlingDesc": "sample string 15",
"PstHandlingCode": "sample string 16",
"PstHandlingDesc": "sample string 17",
"Location": "sample string 18",
"ItemQtyDecimals": 1
}
}