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 100

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

PageNumber

integer

None.

PageSize

PageSize

integer

None.

TotalItems

Total recores available

integer

None.

TotalPages

Total Pages as per the Paze size

integer

None.

Data

Data of Location Info object

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>