Purchase Order Header Charges

Get Purchase Order header charges by ID

GET /api/.../purchaseorders/{id}/headercharges

Returns purchase order's header charges by id.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the purchase order.

Response Information

Example
application/json, text/json
[
  {
    "Amount": 1,
    "ChargeType": 2,
    "ChargeTypeName": "Special handling",
    "FundID": 1815,
    "FundName": ".md fund1",
    "FiscalYearName": "md fy 4",
    "PurchaseOrderID": 4799,
    "PurchaseOrderOrgID": 101
  },
  {
    "Amount": 2,
    "ChargeType": 4,
    "ChargeTypeName": "Shipping",
    "FundID": 3298,
    "FundName": "000 Fund",
    "FiscalYearName": "000-1a",
    "PurchaseOrderID": 4799,
    "PurchaseOrderOrgID": 101
  }
]

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid purchase order ID

Required Permissions

Permission IDs found here.

    CR_AccessAcquisitions_Allow (),
    CR_PurchaseOrders_Access (based on owner ID)