GET api/Documents/DocumentOfPostAndType/{postId}/{documentTypeId}

Get All Document of given PostId and DoctypeId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
postId

integer

Required

documentTypeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DocumentDTO
NameDescriptionTypeAdditional information
DocumentId

globally unique identifier

None.

Name

string

None.

DocType

integer

None.

PublishedDate

date

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

DocumentRes

string

None.

ViewCount

integer

None.

Url_Min

string

None.

Url_Mobile

string

None.

Url_Web

string

None.

Url_Origin

string

None.

IsTargetDoc

boolean

None.

IsShareable

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DocumentId": "c41819c8-b976-4e3f-be93-99791bdf59cc",
    "Name": "sample string 2",
    "DocType": 3,
    "PublishedDate": "2025-08-14T03:15:21.6520095+00:00",
    "LastChanged": "2025-08-14T03:15:21.6520095+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": "c41819c8-b976-4e3f-be93-99791bdf59cc",
    "Name": "sample string 2",
    "DocType": 3,
    "PublishedDate": "2025-08-14T03:15:21.6520095+00:00",
    "LastChanged": "2025-08-14T03:15:21.6520095+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
  }
]

application/xml, text/xml

Sample:
<ArrayOfDocumentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <DocumentDTO>
    <DocType>3</DocType>
    <DocumentId>c41819c8-b976-4e3f-be93-99791bdf59cc</DocumentId>
    <DocumentRes>sample string 6</DocumentRes>
    <IsShareable>true</IsShareable>
    <IsTargetDoc>true</IsTargetDoc>
    <LastChange_AuthorId>1</LastChange_AuthorId>
    <LastChanged>2025-08-14T03:15:21.6520095+00:00</LastChanged>
    <Name>sample string 2</Name>
    <PublishedDate>2025-08-14T03:15:21.6520095+00:00</PublishedDate>
    <Url_Min>sample string 7</Url_Min>
    <Url_Mobile>sample string 8</Url_Mobile>
    <Url_Origin>sample string 10</Url_Origin>
    <Url_Web>sample string 9</Url_Web>
    <ViewCount>1</ViewCount>
  </DocumentDTO>
  <DocumentDTO>
    <DocType>3</DocType>
    <DocumentId>c41819c8-b976-4e3f-be93-99791bdf59cc</DocumentId>
    <DocumentRes>sample string 6</DocumentRes>
    <IsShareable>true</IsShareable>
    <IsTargetDoc>true</IsTargetDoc>
    <LastChange_AuthorId>1</LastChange_AuthorId>
    <LastChanged>2025-08-14T03:15:21.6520095+00:00</LastChanged>
    <Name>sample string 2</Name>
    <PublishedDate>2025-08-14T03:15:21.6520095+00:00</PublishedDate>
    <Url_Min>sample string 7</Url_Min>
    <Url_Mobile>sample string 8</Url_Mobile>
    <Url_Origin>sample string 10</Url_Origin>
    <Url_Web>sample string 9</Url_Web>
    <ViewCount>1</ViewCount>
  </DocumentDTO>
</ArrayOfDocumentDTO>