GET api/Documents/PagedDocumentOfType?DocTypeId={DocTypeId}&PageNumber={PageNumber}&PageSize={PageSize}

Get All available document of DocType with Pagination

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DocTypeId

integer

None.

PageNumber

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

PagedResultOfDocumentDTO
NameDescriptionTypeAdditional 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": "1389857e-434c-4524-9314-26df7a45c56b",
      "Name": "sample string 2",
      "DocType": 3,
      "PublishedDate": "2025-08-14T03:24:38.8445036+00:00",
      "LastChanged": "2025-08-14T03:24:38.8445036+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": "1389857e-434c-4524-9314-26df7a45c56b",
      "Name": "sample string 2",
      "DocType": 3,
      "PublishedDate": "2025-08-14T03:24:38.8445036+00:00",
      "LastChanged": "2025-08-14T03:24:38.8445036+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>1389857e-434c-4524-9314-26df7a45c56b</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:24:38.8445036+00:00</d2p1:LastChanged>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PublishedDate>2025-08-14T03:24:38.8445036+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>1389857e-434c-4524-9314-26df7a45c56b</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:24:38.8445036+00:00</d2p1:LastChanged>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PublishedDate>2025-08-14T03:24:38.8445036+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>