Newer Version Available

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

Recalculate Adjustments Action

Recalculate the adjusted amount for a claim loss item to the maximum amount that’s allowed by the insurance policy.

This action is available in API version 66.0 and later.

Supported REST HTTP Methods

URI
/services/data/v66.0/actions/standard/recalculateAdjustments
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearertoken

Inputs

Input Details
recalcAdjustmentsInputRep
Type

Apex-defined

Description

Required.

An Apex ConnectApi.RecalcAdjustmentsInputRep record that contains the claim amount and ID of the claim coverage payment detail record to recalculate the adjusted amount.

Outputs

Output Details
calculateAdjustmentsOutputRep
Type

Apex-defined

Description
An Apex ConnectApi.CalcAdjustmentsOutputRep record containing the calculated adjusted amount and the updated insurance policy limit tracking details.

Example

POST

This sample request is for the Recalculate Adjustments action.

1{
2  "inputs": [
3    {
4      "recalcAdjustmentsInputRep": {
5        "claimId": "0Zkxx0000000001CAA",
6        "claimCoverageId": "0kPxx0000000001CAA",
7        "paymentDetailId": "0l2xx0000000001CAA",
8        "claimedAmount": 5000
9      }
10    }
11  ]
12}

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]