Cart Test
Web/Cart/{sessionKey}/Fees
Adds or Updates a fee

Only user-defined fees can be added. Seat-based fees can be overridden to zero only, while order-based or user-defined fees can be overridden to any amount, as allowed by the rules in fee setup. To add and edit a user-defined fee call this method twice, once to add the fee, and once to override the amount.
Http Verb POST
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/Web/Cart/{sessionKey}/Fees

URI Parameters

Parameter Name Data Type Required Notes
sessionKey string Y

Request Body

Request object type : AddUpdateFeeRequest

Request object type AddUpdateFeeRequest has the following properties.
Property Name Data Type Length Required Readonly Notes
Action string Y Determines the action the method should take. (A)dd, (O)verride, (U)n-override.
Amount decimal number The fee amount to set when overriding a fee. Must conform to override amount rules for the fee being overridden. Required when Action is (O)verride.
FeeId integer Y The ID number of the fee to be updated. Can be retrieved using /TXN/Fees (if adding a new fee) or /Web/Cart (if updating an existing fee).
FK: T_FEE.fee_no   Resource: Fees
ItemFeeId integer The Product ID or Line Item Id of the fee to be overridden or updated. Can be retrieved using /Web/Cart. Required when Action is (O)verride or (U)n-override.
{
  "Action": "sample string 1",
  "ItemFeeId": 2,
  "FeeId": 3,
  "Amount": 4.0
}
<AddUpdateFeeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Action>sample string 1</Action>
  <Amount>4</Amount>
  <FeeId>3</FeeId>
  <ItemFeeId>2</ItemFeeId>
</AddUpdateFeeRequest>

Response object type : AddUpdateFeeResponse

Response object type AddUpdateFeeResponse has the following properties.
Property Name Data Type Length Required Readonly Notes
ItemFeeId integer
{
  "ItemFeeId": 1
}
<AddUpdateFeeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ItemFeeId>1</ItemFeeId>
</AddUpdateFeeResponse>
Change Version Description Contract Old New
Parameter Changed 15.0.0 sessionKey has been marked as required. Required