Newer Version Available

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

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

Inputs

Input Details
createClaimCvrPymtDtlInputRep
Type
Apex-defined
Description

Required.

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

Outputs

Output Details
createClaimCvrPymtDtlOutputRep
Type
Apex-defined
Description
An 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}