GET v1/GLUnderwriting/{policyId}/GetGLUnderwriting

Gets Contractors Underwriting for a given Policy Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GeneralLiabilityUnderwritingDTO

ActionResultDTOOfGeneralLiabilityUnderwritingDTO
NameDescriptionTypeAdditional information
Result

GeneralLiabilityUnderwritingDTO

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, text/json

Sample:
{
  "Result": {
    "GeneralLiabilityUnderwritingID": 1,
    "PolicyQuoteID": 2,
    "MedicalFacilitiesDoctorsProvided": true,
    "RadioactiveNuclearMaterialsExposureCode": true,
    "OperationsInvolveHazardousMaterials": true,
    "OperationsSoldAcquiredorDiscontinued": true,
    "MachineryorEquipmentLoanedRentedtoOthers": true,
    "WatercraftDocksFloatsExposure": true,
    "ParkingFacilitiesOwnedRented": true,
    "ParkingChargedFor": true,
    "RecreationFacilitiesProvided": true,
    "SwimmingPoolonPremises": true,
    "SportingSocialEventsSponsored": true,
    "StructuralAlterationsContemplated": true,
    "DemolitionExposureContemplated": true,
    "GLUnderwritingQuestionResponses": [
      {
        "GLUnderwritingQuestionResponseID": 1,
        "GLUnderwritingQuestionID": 1,
        "GeneralLiabilityUnderwritingID": 2,
        "ResponseNumber": 1,
        "HighImpact": true,
        "ResponseData": "sample string 4",
        "QuestionList": [
          {
            "QuestionID": 1,
            "QuestionDescription": "sample string 2",
            "QuestionSystemCode": "sample string 3"
          },
          {
            "QuestionID": 1,
            "QuestionDescription": "sample string 2",
            "QuestionSystemCode": "sample string 3"
          }
        ]
      },
      {
        "GLUnderwritingQuestionResponseID": 1,
        "GLUnderwritingQuestionID": 1,
        "GeneralLiabilityUnderwritingID": 2,
        "ResponseNumber": 1,
        "HighImpact": true,
        "ResponseData": "sample string 4",
        "QuestionList": [
          {
            "QuestionID": 1,
            "QuestionDescription": "sample string 2",
            "QuestionSystemCode": "sample string 3"
          },
          {
            "QuestionID": 1,
            "QuestionDescription": "sample string 2",
            "QuestionSystemCode": "sample string 3"
          }
        ]
      }
    ]
  },
  "CreatedBy": "sample string 1",
  "EntityID": 2,
  "RowSource": "sample string 3",
  "PolicyID": 4,
  "IsSuccess": true,
  "ErrorCode": "sample string 6",
  "ErrorMessage": "sample string 7",
  "InfoMessage": "sample string 8"
}

application/xml, text/xml

Sample:
<ActionResultOfGeneralLiabilityUnderwritingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 6</ErrorCode>
  <ErrorMessage>sample string 7</ErrorMessage>
  <InfoMessage>sample string 8</InfoMessage>
  <IsSuccess>true</IsSuccess>
  <CreatedBy>sample string 1</CreatedBy>
  <EntityID>2</EntityID>
  <PolicyID>4</PolicyID>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
    <d2p1:DemolitionExposureContemplated>true</d2p1:DemolitionExposureContemplated>
    <d2p1:GLUnderwritingQuestionResponses>
      <d2p1:GLUnderwritingQuestionResponseDTO>
        <d2p1:GLUnderwritingQuestionID>1</d2p1:GLUnderwritingQuestionID>
        <d2p1:GLUnderwritingQuestionResponseID>1</d2p1:GLUnderwritingQuestionResponseID>
        <d2p1:GeneralLiabilityUnderwritingID>2</d2p1:GeneralLiabilityUnderwritingID>
        <d2p1:HighImpact>true</d2p1:HighImpact>
        <d2p1:QuestionList>
          <d2p1:QuestionDTO>
            <d2p1:QuestionDescription>sample string 2</d2p1:QuestionDescription>
            <d2p1:QuestionID>1</d2p1:QuestionID>
            <d2p1:QuestionSystemCode>sample string 3</d2p1:QuestionSystemCode>
          </d2p1:QuestionDTO>
          <d2p1:QuestionDTO>
            <d2p1:QuestionDescription>sample string 2</d2p1:QuestionDescription>
            <d2p1:QuestionID>1</d2p1:QuestionID>
            <d2p1:QuestionSystemCode>sample string 3</d2p1:QuestionSystemCode>
          </d2p1:QuestionDTO>
        </d2p1:QuestionList>
        <d2p1:ResponseData>sample string 4</d2p1:ResponseData>
        <d2p1:ResponseNumber>1</d2p1:ResponseNumber>
      </d2p1:GLUnderwritingQuestionResponseDTO>
      <d2p1:GLUnderwritingQuestionResponseDTO>
        <d2p1:GLUnderwritingQuestionID>1</d2p1:GLUnderwritingQuestionID>
        <d2p1:GLUnderwritingQuestionResponseID>1</d2p1:GLUnderwritingQuestionResponseID>
        <d2p1:GeneralLiabilityUnderwritingID>2</d2p1:GeneralLiabilityUnderwritingID>
        <d2p1:HighImpact>true</d2p1:HighImpact>
        <d2p1:QuestionList>
          <d2p1:QuestionDTO>
            <d2p1:QuestionDescription>sample string 2</d2p1:QuestionDescription>
            <d2p1:QuestionID>1</d2p1:QuestionID>
            <d2p1:QuestionSystemCode>sample string 3</d2p1:QuestionSystemCode>
          </d2p1:QuestionDTO>
          <d2p1:QuestionDTO>
            <d2p1:QuestionDescription>sample string 2</d2p1:QuestionDescription>
            <d2p1:QuestionID>1</d2p1:QuestionID>
            <d2p1:QuestionSystemCode>sample string 3</d2p1:QuestionSystemCode>
          </d2p1:QuestionDTO>
        </d2p1:QuestionList>
        <d2p1:ResponseData>sample string 4</d2p1:ResponseData>
        <d2p1:ResponseNumber>1</d2p1:ResponseNumber>
      </d2p1:GLUnderwritingQuestionResponseDTO>
    </d2p1:GLUnderwritingQuestionResponses>
    <d2p1:GeneralLiabilityUnderwritingID>1</d2p1:GeneralLiabilityUnderwritingID>
    <d2p1:MachineryorEquipmentLoanedRentedtoOthers>true</d2p1:MachineryorEquipmentLoanedRentedtoOthers>
    <d2p1:MedicalFacilitiesDoctorsProvided>true</d2p1:MedicalFacilitiesDoctorsProvided>
    <d2p1:OperationsInvolveHazardousMaterials>true</d2p1:OperationsInvolveHazardousMaterials>
    <d2p1:OperationsSoldAcquiredorDiscontinued>true</d2p1:OperationsSoldAcquiredorDiscontinued>
    <d2p1:ParkingChargedFor>true</d2p1:ParkingChargedFor>
    <d2p1:ParkingFacilitiesOwnedRented>true</d2p1:ParkingFacilitiesOwnedRented>
    <d2p1:PolicyQuoteID>2</d2p1:PolicyQuoteID>
    <d2p1:RadioactiveNuclearMaterialsExposureCode>true</d2p1:RadioactiveNuclearMaterialsExposureCode>
    <d2p1:RecreationFacilitiesProvided>true</d2p1:RecreationFacilitiesProvided>
    <d2p1:SportingSocialEventsSponsored>true</d2p1:SportingSocialEventsSponsored>
    <d2p1:StructuralAlterationsContemplated>true</d2p1:StructuralAlterationsContemplated>
    <d2p1:SwimmingPoolonPremises>true</d2p1:SwimmingPoolonPremises>
    <d2p1:WatercraftDocksFloatsExposure>true</d2p1:WatercraftDocksFloatsExposure>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfGeneralLiabilityUnderwritingDTO>