GET v1/enterprise/policytype?pageNumber={pageNumber}&pageSize={pageSize}

API for fetching Enterprise customer Policy Type(Line of Business) data order by tenant Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

PageNumber retrives Defatul to 1

integer

Required

pageSize

Number of results per page Default to 25

integer

Default value is 100

Body Parameters

None.

Response Information

Resource Description

Returns Paginated Policy Type(Line of Business) data order by Tenant Id

EnterpriseLOBData
NameDescriptionTypeAdditional information
PageNumber

integer

None.

PageSize

integer

None.

TotalItems

integer

None.

TotalPages

integer

None.

Data

Collection of LOBData

None.

Response Formats

application/json, text/json

Sample:
{
  "PageNumber": 10,
  "PageSize": 25,
  "TotalItems": 1291,
  "TotalPages": 30,
  "Data": [
    {
      "QQTenantID": 2345,
      "LocationId": 200012,
      "LobId": 450,
      "AcordCode": "AUTOB",
      "LOBName": "Wind - Personal",
      "IsPackage": true
    },
    {
      "QQTenantID": 2345,
      "LocationId": 200012,
      "LobId": 450,
      "AcordCode": "AUTOB",
      "LOBName": "Wind - Personal",
      "IsPackage": true
    }
  ]
}

application/xml, text/xml

Sample:
<EnterpriseLOBData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.EnterpriseModels">
  <Data>
    <LOBData>
      <AcordCode>AUTOB</AcordCode>
      <IsPackage>true</IsPackage>
      <LOBName>Wind - Personal</LOBName>
      <LobId>450</LobId>
      <LocationId>200012</LocationId>
      <QQTenantID>2345</QQTenantID>
    </LOBData>
    <LOBData>
      <AcordCode>AUTOB</AcordCode>
      <IsPackage>true</IsPackage>
      <LOBName>Wind - Personal</LOBName>
      <LobId>450</LobId>
      <LocationId>200012</LocationId>
      <QQTenantID>2345</QQTenantID>
    </LOBData>
  </Data>
  <PageNumber>10</PageNumber>
  <PageSize>25</PageSize>
  <TotalItems>1291</TotalItems>
  <TotalPages>30</TotalPages>
</EnterpriseLOBData>