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.

Edit Claim Coverage Payment Detail Action

Modify a claim coverage payment detail record.

This action is available in API version 66.0 and later.

Supported REST HTTP Methods

URI
/services/data/v68.0/actions/standard/editClaimCvrPaymentDetail
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearertoken

Inputs

Input Details
editClaimCvrPymtDtlInputRep
Type

Apex-defined

Description
Required.
An Apex ConnectApi.EditClaimCvrPymtDtlInputRep record that contains details of the claim coverage payment detail to edit.

Outputs

Output Details
editClaimCvrPymtDtlOutputRep
Type

Apex-defined

Description
An Apex ConnectApi.EditClaimCvrPymtDtlOutputRep record that contains details of the claim coverage payment detail that’s edited.

Example

POST

This sample request is for the Edit Claim Coverage Payment Detail action.

1{
2  "inputs": [
3    {
4      "editClaimCvrPymtDtlInputRep": {
5        "claimId": "0Zkxx0000000001CAA",
6        "claimCoverageId": "0kPxx0000000001CAA",
7        "claimCoveragePaymentDetailId": "0l2xx0000000001CAA",
8        "claimedAmount": 5000,
9        "adjustedAmount": 5000,
10        "recipientId": "001xx000003DGQyAAO",
11        "name": "Rental Car Expense",
12        "description": "Payment for 5 days of rental car usage",
13        "limitUnitCount": 5,
14        "status": "Draft",
15        "additionalFields": [
16          {
17            "key": "State",
18            "value": "CA"
19          },
20          {
21            "key": "LOB__c",
22            "value": "Commercial"
23          }
24        ]
25      }
26    }
27  ]
28}

This sample response is for the Edit Claim Coverage Payment Detail action.

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