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/v67.0/actions/standard/calculateAdjustments
Formats
JSON
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
calculateAdjustmentsInputRep
Type
Apex-defined
Description

Required.

An Apex ConnectApi.CalculateAdjustmentsInputRep record that contains the details of the claim to calculate the adjusted amount for a loss item.

Outputs

Output Details
calculateAdjustmentsOutputRep
Type
Apex-defined
Description
An Apex ConnectApi.CalculateAdjustmentsRepresentation record that contains the details of the adjustments for the claim loss items.

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}