GET v1/Policies/GetPolicyForm?formId={formId}

Gets the specifed PolicyForm entry

Request Information

URI Parameters

NameDescriptionTypeAdditional information
formId

Gets details of the selected item from PolicyForms table

integer

Required

Body Parameters

None.

Response Information

Resource Description

ActionResultDTOOfPolicyForm
NameDescriptionTypeAdditional information
Result

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'QQSolutions.NextGen.Contracts.Entities.Policy.PolicyIntentsToCancel'. Path 'Result.PolicyQuoteInfo.AcordForms[0].Customer.OfficeEmployee.<PolicyIntentsToCancels>k__BackingField[0].PolicyCancellationReason.PolicyIntentsToCancels'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'QQSolutions.NextGen.Contracts.Entities.Policy.PolicyIntentsToCancel'. Path 'Result.PolicyQuoteInfo.AcordForms[0].Customer.OfficeEmployee.<PolicyIntentsToCancels>k__BackingField[0].PolicyCancellationReason.PolicyIntentsToCancels'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[QQSolutions.NextGen.Contracts.Entities.Policy.AcordFormLossPayee, QQSolutions.NextGen.Contracts, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[QQSolutions.NextGen.Contracts.Entities.Policy.AcordFormLossPayee, QQSolutions.NextGen.Contracts, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.