Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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

Inputs

Input Details
deleteClaimCvrPymtDtlInputRep
Type
Apex-defined
Description

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 Details
paymentDetailId
Type
string
Description
ID of the payment detail record that's deleted.

Example

Sample Request

1{
2  "inputs": [
3    {
4      "deleteClaimCvrPymtDtlInputRep": {
5        "claimId": "0Zkxx000000001dEAA",
6        "coverageId": "0kPxx000000002fEAA",
7        "paymentDetailId": "5pdS70000004oVfIAI"
8      }
9    }
10  ]
11}

Sample Response

1[
2    {
3    "actionName": "deleteClaimCvrPaymentDetail",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9    "paymentDetailId": "5pdS70000004oVfIAI"
10    },
11    "sortOrder": -1,
12    "version": 1
13    }
14    ]