GET v1/enterprise/policies?pageNumber={pageNumber}&modifiedStartDate={modifiedStartDate}&modifiedEndDate={modifiedEndDate}&pageSize={pageSize}
API for fetching Enterprise customer policies data order by tenant Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageNumber |
PageNumber retrives Defatul to 1 |
integer |
Required |
modifiedStartDate |
Filters employees modfied on or after this date |
date |
Required |
modifiedEndDate |
Filters employees modfied on or after this date |
date |
Required |
pageSize |
Number of results per page Default to 25 |
integer |
Default value is 100 |
Body Parameters
None.
Response Information
Resource Description
Returns Paginated Policies data order by Tenant Id
EnterprisePoliciesDataName | Description | Type | Additional information |
---|---|---|---|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
|
TotalItems | integer |
None. |
|
TotalPages | integer |
None. |
|
Data | Collection of PoliciesInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "PageNumber": 10, "PageSize": 25, "TotalItems": 1291, "TotalPages": 30, "Data": [ { "QQTenantID": 2345, "CreatedOn": "2024-11-21T09:47:53.5972329+00:00", "HasBeenModified": true, "Term": "A", "PolicyType": "S", "PackageType": "Auto", "IsDeleted": true, "PriorPolicyID": "PPA1234", "AgentName": "John Dev", "MGA": "Amwins", "WritingCarrier": "UnitedHealthcare", "LOB": "Bond - Bail", "CustomerName": "John Wick", "PolicyId": 4232, "CustomerId": 5656, "PolicyNumber": "PPA08121", "BinderDate": "2024-11-21T09:47:53.5972329+00:00", "EffectiveDate": "2024-11-21T09:47:53.5972329+00:00", "ExpirationDate": "2024-11-21T09:47:53.5972329+00:00", "Status": "P", "TotalPremium": 1.1, "Description": "User customized policy", "LOBId": 8778, "MGAId": 7321, "CarrierId": 2648 }, { "QQTenantID": 2345, "CreatedOn": "2024-11-21T09:47:53.5972329+00:00", "HasBeenModified": true, "Term": "A", "PolicyType": "S", "PackageType": "Auto", "IsDeleted": true, "PriorPolicyID": "PPA1234", "AgentName": "John Dev", "MGA": "Amwins", "WritingCarrier": "UnitedHealthcare", "LOB": "Bond - Bail", "CustomerName": "John Wick", "PolicyId": 4232, "CustomerId": 5656, "PolicyNumber": "PPA08121", "BinderDate": "2024-11-21T09:47:53.5972329+00:00", "EffectiveDate": "2024-11-21T09:47:53.5972329+00:00", "ExpirationDate": "2024-11-21T09:47:53.5972329+00:00", "Status": "P", "TotalPremium": 1.1, "Description": "User customized policy", "LOBId": 8778, "MGAId": 7321, "CarrierId": 2648 } ] }
application/xml, text/xml
Sample:
<EnterprisePoliciesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.EnterpriseModels"> <Data> <PoliciesInfo> <AgentName>John Dev</AgentName> <BinderDate>2024-11-21T09:47:53.5972329+00:00</BinderDate> <CarrierId>2648</CarrierId> <CreatedOn>2024-11-21T09:47:53.5972329+00:00</CreatedOn> <CustomerId>5656</CustomerId> <CustomerName>John Wick</CustomerName> <DateLastModified>2024-11-21T09:47:53.5972329+00:00</DateLastModified> <Description>User customized policy</Description> <EffectiveDate>2024-11-21T09:47:53.5972329+00:00</EffectiveDate> <ExpirationDate>2024-11-21T09:47:53.5972329+00:00</ExpirationDate> <HasBeenModified>true</HasBeenModified> <IsDeleted>true</IsDeleted> <LOB>Bond - Bail</LOB> <LOBId>8778</LOBId> <MGA>Amwins</MGA> <MGAId>7321</MGAId> <PackageType>Auto</PackageType> <PolicyId>4232</PolicyId> <PolicyNumber>PPA08121</PolicyNumber> <PolicyType>S</PolicyType> <PriorPolicyID>PPA1234</PriorPolicyID> <QQTenantID>2345</QQTenantID> <Status>P</Status> <Term>A</Term> <TotalPremium>1.1</TotalPremium> <WritingCarrier>UnitedHealthcare</WritingCarrier> </PoliciesInfo> <PoliciesInfo> <AgentName>John Dev</AgentName> <BinderDate>2024-11-21T09:47:53.5972329+00:00</BinderDate> <CarrierId>2648</CarrierId> <CreatedOn>2024-11-21T09:47:53.5972329+00:00</CreatedOn> <CustomerId>5656</CustomerId> <CustomerName>John Wick</CustomerName> <DateLastModified>2024-11-21T09:47:53.5972329+00:00</DateLastModified> <Description>User customized policy</Description> <EffectiveDate>2024-11-21T09:47:53.5972329+00:00</EffectiveDate> <ExpirationDate>2024-11-21T09:47:53.5972329+00:00</ExpirationDate> <HasBeenModified>true</HasBeenModified> <IsDeleted>true</IsDeleted> <LOB>Bond - Bail</LOB> <LOBId>8778</LOBId> <MGA>Amwins</MGA> <MGAId>7321</MGAId> <PackageType>Auto</PackageType> <PolicyId>4232</PolicyId> <PolicyNumber>PPA08121</PolicyNumber> <PolicyType>S</PolicyType> <PriorPolicyID>PPA1234</PriorPolicyID> <QQTenantID>2345</QQTenantID> <Status>P</Status> <Term>A</Term> <TotalPremium>1.1</TotalPremium> <WritingCarrier>UnitedHealthcare</WritingCarrier> </PoliciesInfo> </Data> <PageNumber>10</PageNumber> <PageSize>25</PageSize> <TotalItems>1291</TotalItems> <TotalPages>30</TotalPages> </EnterprisePoliciesData>