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.
Recalculate Adjustments Action
This action is available in API version 66.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/recalculateAdjustments
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
| Input | Details |
|---|---|
| recalcAdjustmentsInputRep |
|
Outputs
| Output | Details |
|---|---|
| calculateAdjustmentsOutputRep |
|
Example
- POST
-
This sample request is for the Recalculate Adjustments action.
1{ 2 "inputs": [ 3 { 4 "recalcAdjustmentsInputRep": { 5 "claimId": "0ZkSB0000000tqv0AA", 6 "claimCoverageId": "0kPSB000000G72L2AS", 7 "claimedAmount": "1000", 8 "paymentDetailId": "0l2xx0000000001CAA", 9 "additionalFields": { 10 "LimitUnitOfMeasure": "Visits", 11 "LimitUnitCount": 2, 12 "Discount_Percent__c": 50, 13 "EditedDateTime__c": "2026-03-25T11:50:00.000Z", 14 "IsPaid__c": false 15 } 16 } 17 } 18 ] 19} -
This sample response is for the Recalculate Adjustments action.
1[ 2 { 3 "actionName": "recalculateAdjustments", 4 "errors": null, 5 "invocationId": null, 6 "isSuccess": true, 7 "outcome": null, 8 "outputValues": { 9 "calculateAdjustmentsOutputRep": { 10 "adjustedAmount": 1250, 11 "adjustmentReason": "Deductible applied.", 12 "claimCovPaymentAdjustments": [ 13 { 14 "adjustedAmount": 250, 15 "adjustmentReason": "Deductible" 16 } 17 ], 18 "insPolicyLimitTrackings": [ 19 { 20 "policyLimitId": "0lYx00000004CvQEAU", 21 "category": "Per-Incident Limit", 22 "remainingAmount": 4750 23 } 24 ] 25 } 26 }, 27 "sortOrder": -1, 28 "version": 1 29 } 30]