GetPolicy(policyId, connectDynamicParameters)
Get details of an insurance policy. Pass additional context or metadata to customize the information that’s fetched.
63.0
No
public static ConnectApi.GetPolicyOutputRepresentation GetPolicy(String policyId, Map<String,String> connectDynamicParameters)
policyId
- Type: String
- ID of the policy for which the details are to be fetched.
connectDynamicParameters
- Type: Map<String,String>
- Map of connect dynamic parameters to fetch the policy details.
Type: ConnectApi.GetPolicyOutputRepresentation
Use this API to fetch the insurance policy details. This includes related assets, participants, and coverages. Use query parameters to request additional information.
- When the
contextOnlyparameter is true, the API returns a context ID along with the insurance policy details. - When you send a request with additional fields with the operator
$in, it returns a list of field-set IDs. When the operator is$eq, the request returns a single field-set ID.
For examples, see Get Policy.