Delete Claim Coverage Payment Detail Action

Remove unpaid claim coverage payment details by updating the status of the claim coverage payment detail record to Deleted.

When the coveragePaymentType is Loss, this action reverses the insurance policy limit tracking data to roll back consumption. This action is available in API version 65.0 and later.

Supported REST HTTP Methods

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

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
deleteClaimCvrPymtDtlInputRep Apex-defined Required. An Apex ConnectApi.DeleteClaimCvrPymtDtlInputRep record that contains the details of the claim coverage payment detail record to be marked for deletion by updating the status.

Outputs

Output Type Description
paymentDetailId string ID of the payment detail record that's deleted.

Example

Sample Request

{
  "inputs": [
    {
      "deleteClaimCvrPymtDtlInputRep": {
        "claimId": "0Zkxx000000001dEAA",
        "coverageId": "0kPxx000000002fEAA",
        "paymentDetailId": "5pdS70000004oVfIAI"
      }
    }
  ]
}

Sample Response

[
    {
    "actionName": "deleteClaimCvrPaymentDetail",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
    "paymentDetailId": "5pdS70000004oVfIAI"
    },
    "sortOrder": -1,
    "version": 1
    }
    ]