GET v1/Locations/{locationID}/Policies/LinesOfBusiness
Get the Lines of Business' and Coverages
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationID |
Id of the location |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of Lines of Business' and Coverages
Collection of LocationLobDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| LOBID | integer |
None. |
|
| Visible | boolean |
None. |
|
| LocationID | integer |
None. |
|
| Id | integer |
None. |
|
| LOB | LobDTO |
None. |
|
| LocationLOBCoverages | Collection of LocationLOBCoverageDTO |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LOBID": 1,
"Visible": true,
"LocationID": 1,
"Id": 2,
"LOB": {
"LOBID": 1,
"LOBString": "sample string 2",
"InternalCode": "sample string 3",
"IsPackage": true,
"PackageCode": "sample string 5",
"AcordCode": "sample string 6",
"LOBClassId": "sample string 7",
"SubCodes": "sample string 8",
"LOBDetailsGroup": "sample string 9",
"LOBGroupCode": "sample string 10",
"HasDetails": true,
"DropDown": "sample string 12"
},
"LocationLOBCoverages": [
{
"LocationLOBCoverageID": 1,
"CoverageID": 1,
"Visible": true,
"LocationLobID": 1,
"Coverage": {
"CoverageID": 1,
"CoverageName": "sample string 2",
"InternalCode": "sample string 3",
"Category": "sample string 4"
}
},
{
"LocationLOBCoverageID": 1,
"CoverageID": 1,
"Visible": true,
"LocationLobID": 1,
"Coverage": {
"CoverageID": 1,
"CoverageName": "sample string 2",
"InternalCode": "sample string 3",
"Category": "sample string 4"
}
}
]
},
{
"LOBID": 1,
"Visible": true,
"LocationID": 1,
"Id": 2,
"LOB": {
"LOBID": 1,
"LOBString": "sample string 2",
"InternalCode": "sample string 3",
"IsPackage": true,
"PackageCode": "sample string 5",
"AcordCode": "sample string 6",
"LOBClassId": "sample string 7",
"SubCodes": "sample string 8",
"LOBDetailsGroup": "sample string 9",
"LOBGroupCode": "sample string 10",
"HasDetails": true,
"DropDown": "sample string 12"
},
"LocationLOBCoverages": [
{
"LocationLOBCoverageID": 1,
"CoverageID": 1,
"Visible": true,
"LocationLobID": 1,
"Coverage": {
"CoverageID": 1,
"CoverageName": "sample string 2",
"InternalCode": "sample string 3",
"Category": "sample string 4"
}
},
{
"LocationLOBCoverageID": 1,
"CoverageID": 1,
"Visible": true,
"LocationLobID": 1,
"Coverage": {
"CoverageID": 1,
"CoverageName": "sample string 2",
"InternalCode": "sample string 3",
"Category": "sample string 4"
}
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfLocationLobDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
<LocationLobDTO>
<Id>2</Id>
<LOB xmlns:d3p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
<d3p1:AcordCode>sample string 6</d3p1:AcordCode>
<d3p1:DropDown>sample string 12</d3p1:DropDown>
<d3p1:HasDetails>true</d3p1:HasDetails>
<d3p1:InternalCode>sample string 3</d3p1:InternalCode>
<d3p1:IsPackage>true</d3p1:IsPackage>
<d3p1:LOBClassId>sample string 7</d3p1:LOBClassId>
<d3p1:LOBDetailsGroup>sample string 9</d3p1:LOBDetailsGroup>
<d3p1:LOBGroupCode>sample string 10</d3p1:LOBGroupCode>
<d3p1:LOBID>1</d3p1:LOBID>
<d3p1:LOBString>sample string 2</d3p1:LOBString>
<d3p1:PackageCode>sample string 5</d3p1:PackageCode>
<d3p1:SubCodes>sample string 8</d3p1:SubCodes>
</LOB>
<LOBID>1</LOBID>
<LocationID>1</LocationID>
<LocationLOBCoverages>
<LocationLOBCoverageDTO>
<Coverage>
<Category>sample string 4</Category>
<CoverageID>1</CoverageID>
<CoverageName>sample string 2</CoverageName>
<InternalCode>sample string 3</InternalCode>
</Coverage>
<CoverageID>1</CoverageID>
<LocationLOBCoverageID>1</LocationLOBCoverageID>
<LocationLobID>1</LocationLobID>
<Visible>true</Visible>
</LocationLOBCoverageDTO>
<LocationLOBCoverageDTO>
<Coverage>
<Category>sample string 4</Category>
<CoverageID>1</CoverageID>
<CoverageName>sample string 2</CoverageName>
<InternalCode>sample string 3</InternalCode>
</Coverage>
<CoverageID>1</CoverageID>
<LocationLOBCoverageID>1</LocationLOBCoverageID>
<LocationLobID>1</LocationLobID>
<Visible>true</Visible>
</LocationLOBCoverageDTO>
</LocationLOBCoverages>
<Visible>true</Visible>
</LocationLobDTO>
<LocationLobDTO>
<Id>2</Id>
<LOB xmlns:d3p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
<d3p1:AcordCode>sample string 6</d3p1:AcordCode>
<d3p1:DropDown>sample string 12</d3p1:DropDown>
<d3p1:HasDetails>true</d3p1:HasDetails>
<d3p1:InternalCode>sample string 3</d3p1:InternalCode>
<d3p1:IsPackage>true</d3p1:IsPackage>
<d3p1:LOBClassId>sample string 7</d3p1:LOBClassId>
<d3p1:LOBDetailsGroup>sample string 9</d3p1:LOBDetailsGroup>
<d3p1:LOBGroupCode>sample string 10</d3p1:LOBGroupCode>
<d3p1:LOBID>1</d3p1:LOBID>
<d3p1:LOBString>sample string 2</d3p1:LOBString>
<d3p1:PackageCode>sample string 5</d3p1:PackageCode>
<d3p1:SubCodes>sample string 8</d3p1:SubCodes>
</LOB>
<LOBID>1</LOBID>
<LocationID>1</LocationID>
<LocationLOBCoverages>
<LocationLOBCoverageDTO>
<Coverage>
<Category>sample string 4</Category>
<CoverageID>1</CoverageID>
<CoverageName>sample string 2</CoverageName>
<InternalCode>sample string 3</InternalCode>
</Coverage>
<CoverageID>1</CoverageID>
<LocationLOBCoverageID>1</LocationLOBCoverageID>
<LocationLobID>1</LocationLobID>
<Visible>true</Visible>
</LocationLOBCoverageDTO>
<LocationLOBCoverageDTO>
<Coverage>
<Category>sample string 4</Category>
<CoverageID>1</CoverageID>
<CoverageName>sample string 2</CoverageName>
<InternalCode>sample string 3</InternalCode>
</Coverage>
<CoverageID>1</CoverageID>
<LocationLOBCoverageID>1</LocationLOBCoverageID>
<LocationLobID>1</LocationLobID>
<Visible>true</Visible>
</LocationLOBCoverageDTO>
</LocationLOBCoverages>
<Visible>true</Visible>
</LocationLobDTO>
</ArrayOfLocationLobDTO>