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.
Get Insurance Policy Action
Get the details of an insurance policy.
This action is available in API version 63.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/getInsurancePolicy
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| insurancePolicyId |
Type String Description ID of the insurance policy to be retrieved. |
Outputs
| Output | Details |
|---|---|
| contextId |
Type String DescriptionContext ID of the retrieved insurance policy. |
Example
Sample Request
1{
2"inputs": [
3 {
4 "policyId": "0YTxx00000001H3GAI"
5 }
6 ]
7}Sample Response
1[
2 {
3 "actionName": "getInsurancePolicy",
4 "errors": null,
5 "invocationId": null,
6 "isSuccess": true,
7 "outcome": null,
8 "outputValues": {
9 "contextId": "0000000i18tq18g00291753332964253e35d47202c0c428785435cdfa2f44ae8"
10 },
11 "sortOrder": -1,
12 "version": 1
13 }
14]