GET v1/enterprise/policysource?pageNumber={pageNumber}&pageSize={pageSize}
API for fetching Enterprise customer policy source data order by tenant Id
Request Information
URI Parameters
Name | Description | Type | Additional 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 Source data order by Tenant Id
EnterprisePolicySourceDataName | Description | Type | Additional information |
---|---|---|---|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
|
TotalItems | integer |
None. |
|
TotalPages | integer |
None. |
|
Data | Collection of PolicySourceInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "PageNumber": 10, "PageSize": 25, "TotalItems": 1291, "TotalPages": 30, "Data": [ { "QQTenantId": 1212, "PolicySourceName": "Social Media", "PolicySourceID": 22, "LocationID": 1004, "ParentId": 4, "CreatedOn": "2023-06-22T11:22:43" }, { "QQTenantId": 1212, "PolicySourceName": "Social Media", "PolicySourceID": 22, "LocationID": 1004, "ParentId": 4, "CreatedOn": "2023-06-22T11:22:43" } ] }
application/xml, text/xml
Sample:
<EnterprisePolicySourceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.EnterpriseModels"> <Data> <PolicySourceInfo> <CreatedOn>2023-06-22T11:22:43</CreatedOn> <LocationID>1004</LocationID> <ParentId>4</ParentId> <PolicySourceID>22</PolicySourceID> <PolicySourceName>Social Media</PolicySourceName> <QQTenantId>1212</QQTenantId> </PolicySourceInfo> <PolicySourceInfo> <CreatedOn>2023-06-22T11:22:43</CreatedOn> <LocationID>1004</LocationID> <ParentId>4</ParentId> <PolicySourceID>22</PolicySourceID> <PolicySourceName>Social Media</PolicySourceName> <QQTenantId>1212</QQTenantId> </PolicySourceInfo> </Data> <PageNumber>10</PageNumber> <PageSize>25</PageSize> <TotalItems>1291</TotalItems> <TotalPages>30</TotalPages> </EnterprisePolicySourceData>