GET api/Documents/PagedAllDocumentsOfCategory?CategoryId={CategoryId}&PageNumber={PageNumber}&PageSize={PageSize}
Get All available document of category with Pagination
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CategoryId | integer |
None. |
|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
PagedResultOfDocumentDTOName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of DocumentDTO |
None. |
|
TotalCount | integer |
None. |
|
PageSize | integer |
None. |
|
CurrentPage | integer |
None. |
|
TotalPages | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "DocumentId": "517ba37a-cba6-40e4-97df-9f3e56dc1fe7", "Name": "sample string 2", "DocType": 3, "PublishedDate": "2025-08-14T03:21:51.9881844+00:00", "LastChanged": "2025-08-14T03:21:51.9881844+00:00", "LastChange_AuthorId": 1, "DocumentRes": "sample string 6", "ViewCount": 1, "Url_Min": "sample string 7", "Url_Mobile": "sample string 8", "Url_Web": "sample string 9", "Url_Origin": "sample string 10", "IsTargetDoc": true, "IsShareable": true }, { "DocumentId": "517ba37a-cba6-40e4-97df-9f3e56dc1fe7", "Name": "sample string 2", "DocType": 3, "PublishedDate": "2025-08-14T03:21:51.9881844+00:00", "LastChanged": "2025-08-14T03:21:51.9881844+00:00", "LastChange_AuthorId": 1, "DocumentRes": "sample string 6", "ViewCount": 1, "Url_Min": "sample string 7", "Url_Mobile": "sample string 8", "Url_Web": "sample string 9", "Url_Origin": "sample string 10", "IsTargetDoc": true, "IsShareable": true } ], "TotalCount": 1, "PageSize": 2, "CurrentPage": 3, "TotalPages": 1 }
application/xml, text/xml
Sample:
<PagedResultOfDocumentDTOq1z1nlHZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Domain"> <CurrentPage>3</CurrentPage> <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <d2p1:DocumentDTO> <d2p1:DocType>3</d2p1:DocType> <d2p1:DocumentId>517ba37a-cba6-40e4-97df-9f3e56dc1fe7</d2p1:DocumentId> <d2p1:DocumentRes>sample string 6</d2p1:DocumentRes> <d2p1:IsShareable>true</d2p1:IsShareable> <d2p1:IsTargetDoc>true</d2p1:IsTargetDoc> <d2p1:LastChange_AuthorId>1</d2p1:LastChange_AuthorId> <d2p1:LastChanged>2025-08-14T03:21:51.9881844+00:00</d2p1:LastChanged> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PublishedDate>2025-08-14T03:21:51.9881844+00:00</d2p1:PublishedDate> <d2p1:Url_Min>sample string 7</d2p1:Url_Min> <d2p1:Url_Mobile>sample string 8</d2p1:Url_Mobile> <d2p1:Url_Origin>sample string 10</d2p1:Url_Origin> <d2p1:Url_Web>sample string 9</d2p1:Url_Web> <d2p1:ViewCount>1</d2p1:ViewCount> </d2p1:DocumentDTO> <d2p1:DocumentDTO> <d2p1:DocType>3</d2p1:DocType> <d2p1:DocumentId>517ba37a-cba6-40e4-97df-9f3e56dc1fe7</d2p1:DocumentId> <d2p1:DocumentRes>sample string 6</d2p1:DocumentRes> <d2p1:IsShareable>true</d2p1:IsShareable> <d2p1:IsTargetDoc>true</d2p1:IsTargetDoc> <d2p1:LastChange_AuthorId>1</d2p1:LastChange_AuthorId> <d2p1:LastChanged>2025-08-14T03:21:51.9881844+00:00</d2p1:LastChanged> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:PublishedDate>2025-08-14T03:21:51.9881844+00:00</d2p1:PublishedDate> <d2p1:Url_Min>sample string 7</d2p1:Url_Min> <d2p1:Url_Mobile>sample string 8</d2p1:Url_Mobile> <d2p1:Url_Origin>sample string 10</d2p1:Url_Origin> <d2p1:Url_Web>sample string 9</d2p1:Url_Web> <d2p1:ViewCount>1</d2p1:ViewCount> </d2p1:DocumentDTO> </Items> <PageSize>2</PageSize> <TotalCount>1</TotalCount> </PagedResultOfDocumentDTOq1z1nlHZ>