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

Input Type Description
createClaimCvrPymtDtlInputRep Apex-defined Required. An Apex ConnectApi.CreateClaimCvrPymtDtlInputRep record that contains the details to create the claim coverage payment detail record.

Outputs

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

{
  "inputs": [
    {
      "createClaimCvrPymtDtlInputRep": {
        "claimId": "0Zkxx000000001dEAA",
        "claimCoverageId": "0kPxx000000002fEAA",
        "claimedAmount": 1200,
        "recipientId": "001xx000003GN2rAAG",
        "coveragePaymentType": "Loss",
        "benefitName": "DentalCov",
        "description": "Dental cleaning and checkup.",
        "limitUnitCount": 1,
        "adjustedAmount": 1200,
        "additionalFields": [
          {
            "key": "State",
            "value": "CA"
          },
          {
            "key": "LOB__c",
            "value": "Commercial"
          }
        ]
      }
    }
  ]
}

Sample Response

{
  "actionName": "createClaimCvrPaymentDetail",
  "errors": null,
  "invocationId": null,
  "isSuccess": true,
  "outcome": null,
  "outputValues": {
    "createClaimCvrPymtDtlOutputRep": {
      "adjustedAmount": 200,
      "adjustedReason": "Deductible",
      "paymentDetailId": "0lDxx0000004CUmEAM",
      "insPolicyLimitTrackingIds": [
        "1TExx0000004DUuGAM",
        "1TExx0000004DUvGAM"
      ]
    }
  },
  "sortOrder": -1,
  "version": 1
}