Newer Version Available

This content describes an older version of this product. View Latest

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/v66.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 for which the adjusted amount must be calculated.

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      }
9    }
10  ]
11}

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}