Add Header Charges

POST /api/.../purchaseorders/{id}/headercharge

Add Purchase Order Header Charges.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the Purchase Order.
dto DtoAddHeaderCharge Yes Define this parameter in the request body.
DtoAddHeaderCharge
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
Amount Decimal No The amount of Header Charge.
Example
application/json, text/json
{
    "FundID": 1,
    "ChargeType": 2,
    "Amount": 10
}

Response Information

True is returned upon success.

Example
application/json, text/json
true

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