Newer Version Available

This content describes an older version of this product. View Latest

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/v66.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

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]