This action is available in API version 65.0 and later.
Supported REST HTTP Methods
URI: /services/data/vXX.X/actions/standard/updateClaimCoverage
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 |
|---|---|---|
| updateClaimCoverageInputRep | Apex-defined | Required. An Apex ConnectApi.UpdateClaimCoverageInputRep record that contains the details of the claim coverage to be updated. |
Outputs
| Output | Type | Description |
|---|---|---|
| coverageId | string | ID of the claim coverage that's updated. |
Example
Sample Request
{
"inputs": [
{
"updateClaimCoverageInputRep": {
"claimId": "0Z1S70000004oVfIAI",
"coverageId": "1ccS70000004oVfIAI",
"expenseReserveAmount": 500,
"lossReserveAmount": 2000,
"additionalFields": {
"Status": "Approved"
}
}
}
]
}
Sample Response
[
{
"actionName": "updateClaimCoverage",
"errors": null,
"invocationId": null,
"isSuccess": true,
"outcome": null,
"outputValues": {
"coverageId": "1ccS70000004oVfIAI"
},
"sortOrder": -1,
"version": 1
}
]