Delete Header Charges

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

Delete Purchase Order Header Charges.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the Purchase Order.
dto List of DtoDeleteHeaderCharge Yes Define this parameter in the request body.
DtoDeleteHeaderCharge
Property Type Nullable Description
FundID Int No The unique id assigned to the Fund.
ChargeType Int No The type of Header Charge. Valid values:
  • 1 - Cataloging services
  • 2 - Special handling
  • 3 - Service
  • 4 - Shipping
  • 5 - Other
Example
application/json, text/json
[
  {
    "FundID": 7612,
    "ChargeType": 1
  }
]

Response Information

List of DtoDeleteHeaderChargeResult.

Example
application/json, text/json
[
  {
    "FundID": 7612,
    "ChargeType": 1,
    "Deleted": true,
    "ErrorMessage": null
  }
]

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
    CR_PurchaseOrders_Modify