Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Calculate Adjustments Action
Calculate the adjusted amount for a loss item and generate data for insurance policy
limit tracking and claim coverage payment adjustment records.
This action is available in API version 65.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/calculateAdjustments
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| calculateAdjustmentsInputRep |
|
Outputs
| Output | Details |
|---|---|
| calculateAdjustmentsOutputRep |
|
Example
Sample Request
1{
2 "inputs": [
3 {
4 "calculateAdjustmentsInputRep": {
5 "claimId": "0ZkSB0000000tqv0AA",
6 "claimCoverageId": "0kPSB000000G72L2AS",
7 "claimedAmount": "1000",
8 "additionalFields": {
9 "LimitUnitOfMeasure": "Visits",
10 "LimitUnitCount": 2,
11 "Discount_Percent__c": 50,
12 "EditedDateTime__c": "2026-03-25T11:50:00.000Z",
13 "IsPaid__c": false
14 }
15 }
16 }
17 ]
18}Sample Response
1{
2 "actionName": "calculateAdjustments",
3 "errors": null,
4 "invocationId": null,
5 "isSuccess": true,
6 "outcome": null,
7 "outputValues": {
8 "calculateAdjustmentsOutputRep": {
9 "adjustedAmount": 1250.00,
10 "adjustmentReason": "Deductible applied."
11 "claimCovPaymentAdjustments": [
12 {
13 "adjustedAmount": 250.00,
14 "adjustmentReason": "Deductible"
15 }
16 ],
17 "insPolicyLimitTrackings": [
18 {
19 "policyLimitId": "0lYx00000004CvQEAU",
20 "category": "Per-Incident Limit",
21 "remainingAmount": 4750.00
22 }
23 ]
24 }
25 },
26 "sortOrder": -1,
27 "version": 1
28}