GET v1/Policies/GetUnderwritingQuestion?questionId={questionId}

Gets the specifed UnderWritingQuestions entry

Request Information

URI Parameters

NameDescriptionTypeAdditional information
questionId

Gets details of the selected item from UnderWritingQuestions table

integer

Required

Body Parameters

None.

Response Information

Resource Description

ActionResultDTOOfUnderwritingQuestion
NameDescriptionTypeAdditional information
Result

UnderwritingQuestion

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

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.Question'. Path 'Result.QuestionList[0].Questions[0].QuestionList'.

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.Question'. Path 'Result.QuestionList[0].Questions[0].QuestionList'.

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.