GET v1/ContractorsUnderwriting/{policyId}/GetContractorsUnderwriting
Gets Contractors Underwriting for a given Policy Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
policyId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ContractorsUnderwritingDTO
ActionResultDTOOfContractorsUnderwritingDTOName | Description | Type | Additional information |
---|---|---|---|
Result | ContractorsUnderwritingDTO |
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": { "Id": 1, "PolicyQuoteID": 2, "NumberofFullTimeStaff": 1, "NumberofPartTimeStaff": 1, "PercentofWorkSubcontracted": 1, "WorkContracted": "sample string 3", "DollarsPaidtoSubcontractors": 1.0, "EmployeeOversightRadius": 1, "RoofingPercent": 1, "RenovationPercent": 1, "MaximumExcavationDepth": 1, "GradingPercent": 1, "TreeTrimmingPercent": 1, "SnowplowingPercent": 1, "PaintingInsidePercent": 1, "PaintingOutsidePercent": 1, "ScaffoldingHeight": 1, "ExteriorSprayPercent": 1, "CommercialRoofingPercent": 1, "ResidentialRoofingPercent": 1, "TotalPercentWorkResidential": 1, "TotalPercentWorkCommercial": 1, "NewConstructionPercent": 1, "RemodelPercent": 1, "SubcontractorMinimumGLLimitPerOccurrence": 1, "SubcontractorMinimumGLLimitAggregate": 1 }, "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:
<ActionResultOfContractorsUnderwritingDTO 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:CommercialRoofingPercent>1</d2p1:CommercialRoofingPercent> <d2p1:DollarsPaidtoSubcontractors>1</d2p1:DollarsPaidtoSubcontractors> <d2p1:EmployeeOversightRadius>1</d2p1:EmployeeOversightRadius> <d2p1:ExteriorSprayPercent>1</d2p1:ExteriorSprayPercent> <d2p1:GradingPercent>1</d2p1:GradingPercent> <d2p1:Id>1</d2p1:Id> <d2p1:MaximumExcavationDepth>1</d2p1:MaximumExcavationDepth> <d2p1:NewConstructionPercent>1</d2p1:NewConstructionPercent> <d2p1:NumberofFullTimeStaff>1</d2p1:NumberofFullTimeStaff> <d2p1:NumberofPartTimeStaff>1</d2p1:NumberofPartTimeStaff> <d2p1:PaintingInsidePercent>1</d2p1:PaintingInsidePercent> <d2p1:PaintingOutsidePercent>1</d2p1:PaintingOutsidePercent> <d2p1:PercentofWorkSubcontracted>1</d2p1:PercentofWorkSubcontracted> <d2p1:PolicyQuoteID>2</d2p1:PolicyQuoteID> <d2p1:RemodelPercent>1</d2p1:RemodelPercent> <d2p1:RenovationPercent>1</d2p1:RenovationPercent> <d2p1:ResidentialRoofingPercent>1</d2p1:ResidentialRoofingPercent> <d2p1:RoofingPercent>1</d2p1:RoofingPercent> <d2p1:ScaffoldingHeight>1</d2p1:ScaffoldingHeight> <d2p1:SnowplowingPercent>1</d2p1:SnowplowingPercent> <d2p1:SubcontractorMinimumGLLimitAggregate>1</d2p1:SubcontractorMinimumGLLimitAggregate> <d2p1:SubcontractorMinimumGLLimitPerOccurrence>1</d2p1:SubcontractorMinimumGLLimitPerOccurrence> <d2p1:TotalPercentWorkCommercial>1</d2p1:TotalPercentWorkCommercial> <d2p1:TotalPercentWorkResidential>1</d2p1:TotalPercentWorkResidential> <d2p1:TreeTrimmingPercent>1</d2p1:TreeTrimmingPercent> <d2p1:WorkContracted>sample string 3</d2p1:WorkContracted> </Result> <RowSource>sample string 3</RowSource> </ActionResultOfContractorsUnderwritingDTO>