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/vXX.X/actions/standard/getInsurancePolicy

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 

InputDetails
insurancePolicyIdType
String
Description
ID of the insurance policy to be retrieved.

Outputs 

OutputDetails
contextIdType
String
Description
Context 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]