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
| 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
{
"inputs": [
{
"policyId": "0YTxx00000001H3GAI"
}
]
}
Sample Response
[
{
"actionName": "getInsurancePolicy",
"errors": null,
"invocationId": null,
"isSuccess": true,
"outcome": null,
"outputValues": {
"contextId": "0000000i18tq18g00291753332964253e35d47202c0c428785435cdfa2f44ae8"
},
"sortOrder": -1,
"version": 1
}
]