Create Claim Coverage Payment Detail Action

Create a claim coverage payment detail record.

This action is available in API version 65.0 and later.

Supported REST HTTP Methods 

URI: /services/data/vXX.X/actions/standard/createClaimCvrPaymentDetail

Where XX.X is the latest API version.

Formats: JSON

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

Inputs 

InputTypeDescription
createClaimCvrPymtDtlInputRepApex-definedRequired. An Apex ConnectApi.CreateClaimCvrPymtDtlInputRep record that contains the details to create the claim coverage payment detail record.

Outputs 

OutputTypeDescription
createClaimCvrPymtDtlOutputRepApex-definedAn Apex ConnectApi.CreateClaimCvrPymtDtlOutputRep record that contains the details of the claim coverage payment detail record ‌and the generated data for the insurance policy limit tracking and claim coverage payment adjustment records.

Example 

Sample Request

1{
2  "inputs": [
3    {
4      "createClaimCvrPymtDtlInputRep": {
5        "claimId": "0Zkxx000000001dEAA",
6        "claimCoverageId": "0kPxx000000002fEAA",
7        "claimedAmount": 1200,
8        "recipientId": "001xx000003GN2rAAG",
9        "coveragePaymentType": "Loss",
10        "benefitName": "DentalCov",
11        "description": "Dental cleaning and checkup.",
12        "limitUnitCount": 1,
13        "adjustedAmount": 1200,
14        "additionalFields": [
15          {
16            "key": "State",
17            "value": "CA"
18          },
19          {
20            "key": "LOB__c",
21            "value": "Commercial"
22          }
23        ]
24      }
25    }
26  ]
27}

Sample Response

1{
2  "actionName": "createClaimCvrPaymentDetail",
3  "errors": null,
4  "invocationId": null,
5  "isSuccess": true,
6  "outcome": null,
7  "outputValues": {
8    "createClaimCvrPymtDtlOutputRep": {
9      "adjustedAmount": 200,
10      "adjustedReason": "Deductible",
11      "paymentDetailId": "0lDxx0000004CUmEAM",
12      "insPolicyLimitTrackingIds": [
13        "1TExx0000004DUuGAM",
14        "1TExx0000004DUvGAM"
15      ]
16    }
17  },
18  "sortOrder": -1,
19  "version": 1
20}