Calculations that include all relevant transactions
By default, calls to the /get-amount
endpoint execute the
calculation over all relevant transactions.
For example, suppose you have claim cc:101 with the following transactions:
Exposure | CostType | CostCategory | Currency | Amount |
cc:1 | ClaimCost | Auto body | USD | $2500 |
cc:1 | Expense - A&O | Vehicle inspection | USD | $500 |
cc:22 | ClaimCost | Medical payments | USD | $250 |
Then, suppose you execute the following request.
Command
Request
Response
The request was unfiltered. Therefore, all three transactions were included in the calculation.