GET api/Posts/FullPostnDoc/{postId}

Get Spécific FullPostnDoc of given PostId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
postId

integer

Required

Body Parameters

None.

Response Information

Resource Description

FullPostnFullDoc
NameDescriptionTypeAdditional information
Post

Post

None.

PostDocument

Collection of DocumentDTO

None.

Author

FullContactEmployes

None.

CategoriesOfPost

Collection of integer

None.

TargetedGroups

Collection of integer

None.

TargetedSites

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Post": {
    "PostId": 1,
    "PostTypeId": 2,
    "Title": "sample string 3",
    "EmployesId": 4,
    "Txt": "sample string 5",
    "SiteId": 6,
    "ValidationModeration": true,
    "Draft": true,
    "Adress": "sample string 9",
    "ViewCount": 10,
    "LikesCount": 11,
    "PublishedDate": "2025-08-14T03:15:22.1940725+00:00",
    "PriorityTo": "2025-08-14T03:15:22.1940725+00:00",
    "ModerationComment": "sample string 13",
    "LastChanged": "2025-08-14T03:15:22.1940725+00:00",
    "LastChange_AuthorId": 1,
    "HasDuplicate": true,
    "LanguageId": 1,
    "IsTargetPost": true
  },
  "PostDocument": [
    {
      "DocumentId": "7749ca04-e37e-4d19-bf25-014f7c091e69",
      "Name": "sample string 2",
      "DocType": 3,
      "PublishedDate": "2025-08-14T03:15:22.1940725+00:00",
      "LastChanged": "2025-08-14T03:15:22.1940725+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": "7749ca04-e37e-4d19-bf25-014f7c091e69",
      "Name": "sample string 2",
      "DocType": 3,
      "PublishedDate": "2025-08-14T03:15:22.1940725+00:00",
      "LastChanged": "2025-08-14T03:15:22.1940725+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
    }
  ],
  "Author": {
    "employe": {
      "EmployesId": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "Sex": "sample string 4",
      "HiredDate": "2025-08-14T03:15:22.1940725+00:00",
      "Workplace": "sample string 5",
      "Login": "sample string 6",
      "Telephone": "sample string 7",
      "Mail": "sample string 8",
      "SiteId": 9,
      "AspNetUserId": "sample string 10",
      "CompanyId": 11,
      "CompanyRankId": 12,
      "WorkFamillyId": 13,
      "WorkFunctionId": 14,
      "LastChanged": "2025-08-14T03:15:22.1940725+00:00",
      "FirstConnexion": "2025-08-14T03:15:22.1940725+00:00",
      "LastConnexion": "2025-08-14T03:15:22.1940725+00:00",
      "Hobby": "sample string 16",
      "LastChange_AuthorId": 1,
      "Token_Regeneration": true,
      "Display_Phone": true,
      "Display_Mail": true,
      "ByPass_Moderation": true,
      "Role": "sample string 21",
      "UserTemplateId": "07ed082a-37b7-4798-9932-2c4849f55a66",
      "LanguageId": 1,
      "IsVisibleInApp": true
    },
    "avatarDoc": {
      "DocumentId": "7749ca04-e37e-4d19-bf25-014f7c091e69",
      "Name": "sample string 2",
      "DocType": 3,
      "PublishedDate": "2025-08-14T03:15:22.1940725+00:00",
      "LastChanged": "2025-08-14T03:15:22.1940725+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
    },
    "avatar": "QEA=",
    "WFY": {
      "WorkFamillyId": 1,
      "WorkFamillyName": "sample string 2",
      "LastChanged": "2025-08-14T03:15:22.1940725+00:00",
      "LastChange_AuthorId": 1,
      "CompanyId": 4
    },
    "WFU": {
      "WorkFunctionId": 1,
      "WorkFunctionName": "sample string 2",
      "LastChanged": "2025-08-14T03:15:22.1940725+00:00",
      "LastChange_AuthorId": 1,
      "CompanyId": 4
    }
  },
  "CategoriesOfPost": [
    1,
    2
  ],
  "TargetedGroups": [
    1,
    2
  ],
  "TargetedSites": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<FullPostnFullDoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Author>
    <WFU>
      <CompanyId>4</CompanyId>
      <LastChange_AuthorId>1</LastChange_AuthorId>
      <LastChanged>2025-08-14T03:15:22.1940725+00:00</LastChanged>
      <WorkFunctionId>1</WorkFunctionId>
      <WorkFunctionName>sample string 2</WorkFunctionName>
    </WFU>
    <WFY>
      <CompanyId>4</CompanyId>
      <LastChange_AuthorId>1</LastChange_AuthorId>
      <LastChanged>2025-08-14T03:15:22.1940725+00:00</LastChanged>
      <WorkFamillyId>1</WorkFamillyId>
      <WorkFamillyName>sample string 2</WorkFamillyName>
    </WFY>
    <avatar>QEA=</avatar>
    <avatarDoc>
      <DocType>3</DocType>
      <DocumentId>7749ca04-e37e-4d19-bf25-014f7c091e69</DocumentId>
      <DocumentRes>sample string 6</DocumentRes>
      <IsShareable>true</IsShareable>
      <IsTargetDoc>true</IsTargetDoc>
      <LastChange_AuthorId>1</LastChange_AuthorId>
      <LastChanged>2025-08-14T03:15:22.1940725+00:00</LastChanged>
      <Name>sample string 2</Name>
      <PublishedDate>2025-08-14T03:15:22.1940725+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>
    </avatarDoc>
    <employe>
      <AspNetUserId>sample string 10</AspNetUserId>
      <ByPass_Moderation>true</ByPass_Moderation>
      <CompanyId>11</CompanyId>
      <CompanyRankId>12</CompanyRankId>
      <Display_Mail>true</Display_Mail>
      <Display_Phone>true</Display_Phone>
      <EmployesId>1</EmployesId>
      <FirstConnexion>2025-08-14T03:15:22.1940725+00:00</FirstConnexion>
      <FirstName>sample string 2</FirstName>
      <HiredDate>2025-08-14T03:15:22.1940725+00:00</HiredDate>
      <Hobby>sample string 16</Hobby>
      <IsVisibleInApp>true</IsVisibleInApp>
      <LanguageId>1</LanguageId>
      <LastChange_AuthorId>1</LastChange_AuthorId>
      <LastChanged>2025-08-14T03:15:22.1940725+00:00</LastChanged>
      <LastConnexion>2025-08-14T03:15:22.1940725+00:00</LastConnexion>
      <LastName>sample string 3</LastName>
      <Login>sample string 6</Login>
      <Mail>sample string 8</Mail>
      <Role>sample string 21</Role>
      <Sex>sample string 4</Sex>
      <SiteId>9</SiteId>
      <Telephone>sample string 7</Telephone>
      <Token_Regeneration>true</Token_Regeneration>
      <UserTemplateId>07ed082a-37b7-4798-9932-2c4849f55a66</UserTemplateId>
      <WorkFamillyId>13</WorkFamillyId>
      <WorkFunctionId>14</WorkFunctionId>
      <Workplace>sample string 5</Workplace>
    </employe>
  </Author>
  <CategoriesOfPost xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CategoriesOfPost>
  <Post>
    <Adress>sample string 9</Adress>
    <Draft>true</Draft>
    <EmployesId>4</EmployesId>
    <HasDuplicate>true</HasDuplicate>
    <IsTargetPost>true</IsTargetPost>
    <LanguageId>1</LanguageId>
    <LastChange_AuthorId>1</LastChange_AuthorId>
    <LastChanged>2025-08-14T03:15:22.1940725+00:00</LastChanged>
    <LikesCount>11</LikesCount>
    <ModerationComment>sample string 13</ModerationComment>
    <PostId>1</PostId>
    <PostTypeId>2</PostTypeId>
    <PriorityTo>2025-08-14T03:15:22.1940725+00:00</PriorityTo>
    <PublishedDate>2025-08-14T03:15:22.1940725+00:00</PublishedDate>
    <SiteId>6</SiteId>
    <Title>sample string 3</Title>
    <Txt>sample string 5</Txt>
    <ValidationModeration>true</ValidationModeration>
    <ViewCount>10</ViewCount>
  </Post>
  <PostDocument>
    <DocumentDTO>
      <DocType>3</DocType>
      <DocumentId>7749ca04-e37e-4d19-bf25-014f7c091e69</DocumentId>
      <DocumentRes>sample string 6</DocumentRes>
      <IsShareable>true</IsShareable>
      <IsTargetDoc>true</IsTargetDoc>
      <LastChange_AuthorId>1</LastChange_AuthorId>
      <LastChanged>2025-08-14T03:15:22.1940725+00:00</LastChanged>
      <Name>sample string 2</Name>
      <PublishedDate>2025-08-14T03:15:22.1940725+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>7749ca04-e37e-4d19-bf25-014f7c091e69</DocumentId>
      <DocumentRes>sample string 6</DocumentRes>
      <IsShareable>true</IsShareable>
      <IsTargetDoc>true</IsTargetDoc>
      <LastChange_AuthorId>1</LastChange_AuthorId>
      <LastChanged>2025-08-14T03:15:22.1940725+00:00</LastChanged>
      <Name>sample string 2</Name>
      <PublishedDate>2025-08-14T03:15:22.1940725+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>
  </PostDocument>
  <TargetedGroups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TargetedGroups>
  <TargetedSites xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TargetedSites>
</FullPostnFullDoc>