GET api/Posts/FullPostWithAuthor/{postId}
Get Spécific FullPost of given PostId with author
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
postId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
FullPostName | Description | Type | Additional information |
---|---|---|---|
Post | Post |
None. |
|
PostDocument | Documents |
None. |
|
Author | FullContactEmployes |
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:17:13.2235944+00:00", "PriorityTo": "2025-08-14T03:17:13.2235944+00:00", "ModerationComment": "sample string 13", "LastChanged": "2025-08-14T03:17:13.2235944+00:00", "LastChange_AuthorId": 1, "HasDuplicate": true, "LanguageId": 1, "IsTargetPost": true }, "PostDocument": { "DocumentId": "805291af-50c2-4e92-a8b3-4bb958fd71ab", "DocumentTypeId": 2, "Name": "sample string 3", "PublishedDate": "2025-08-14T03:17:13.2235944+00:00", "LastChanged": "2025-08-14T03:17:13.2235944+00:00", "LastChange_AuthorId": 1, "ViewCount": 1, "Url_Min": "sample string 6", "Url_Mobile": "sample string 7", "Url_Web": "sample string 8", "Url_Origin": "sample string 9", "IsTargetDoc": true, "IsShareable": true }, "Author": { "employe": { "EmployesId": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "Sex": "sample string 4", "HiredDate": "2025-08-14T03:17:13.2235944+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:17:13.2235944+00:00", "FirstConnexion": "2025-08-14T03:17:13.2235944+00:00", "LastConnexion": "2025-08-14T03:17:13.2235944+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": "1d11d95e-deed-490b-a479-a1e6e9dbcf5a", "LanguageId": 1, "IsVisibleInApp": true }, "avatarDoc": { "DocumentId": "45fc1b5a-f9cb-4519-819e-1288ab35b7a1", "Name": "sample string 2", "DocType": 3, "PublishedDate": "2025-08-14T03:17:13.2235944+00:00", "LastChanged": "2025-08-14T03:17:13.2235944+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:17:13.2235944+00:00", "LastChange_AuthorId": 1, "CompanyId": 4 }, "WFU": { "WorkFunctionId": 1, "WorkFunctionName": "sample string 2", "LastChanged": "2025-08-14T03:17:13.2235944+00:00", "LastChange_AuthorId": 1, "CompanyId": 4 } } }
application/xml, text/xml
Sample:
<FullPost 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:17:13.2235944+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:17:13.2235944+00:00</LastChanged> <WorkFamillyId>1</WorkFamillyId> <WorkFamillyName>sample string 2</WorkFamillyName> </WFY> <avatar>QEA=</avatar> <avatarDoc> <DocType>3</DocType> <DocumentId>45fc1b5a-f9cb-4519-819e-1288ab35b7a1</DocumentId> <DocumentRes>sample string 6</DocumentRes> <IsShareable>true</IsShareable> <IsTargetDoc>true</IsTargetDoc> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:17:13.2235944+00:00</LastChanged> <Name>sample string 2</Name> <PublishedDate>2025-08-14T03:17:13.2235944+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:17:13.2235944+00:00</FirstConnexion> <FirstName>sample string 2</FirstName> <HiredDate>2025-08-14T03:17:13.2235944+00:00</HiredDate> <Hobby>sample string 16</Hobby> <IsVisibleInApp>true</IsVisibleInApp> <LanguageId>1</LanguageId> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:17:13.2235944+00:00</LastChanged> <LastConnexion>2025-08-14T03:17:13.2235944+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>1d11d95e-deed-490b-a479-a1e6e9dbcf5a</UserTemplateId> <WorkFamillyId>13</WorkFamillyId> <WorkFunctionId>14</WorkFunctionId> <Workplace>sample string 5</Workplace> </employe> </Author> <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:17:13.2235944+00:00</LastChanged> <LikesCount>11</LikesCount> <ModerationComment>sample string 13</ModerationComment> <PostId>1</PostId> <PostTypeId>2</PostTypeId> <PriorityTo>2025-08-14T03:17:13.2235944+00:00</PriorityTo> <PublishedDate>2025-08-14T03:17:13.2235944+00:00</PublishedDate> <SiteId>6</SiteId> <Title>sample string 3</Title> <Txt>sample string 5</Txt> <ValidationModeration>true</ValidationModeration> <ViewCount>10</ViewCount> </Post> <PostDocument> <DocumentId>805291af-50c2-4e92-a8b3-4bb958fd71ab</DocumentId> <DocumentTypeId>2</DocumentTypeId> <IsShareable>true</IsShareable> <IsTargetDoc>true</IsTargetDoc> <LastChange_AuthorId>1</LastChange_AuthorId> <LastChanged>2025-08-14T03:17:13.2235944+00:00</LastChanged> <Name>sample string 3</Name> <PublishedDate>2025-08-14T03:17:13.2235944+00:00</PublishedDate> <Url_Min>sample string 6</Url_Min> <Url_Mobile>sample string 7</Url_Mobile> <Url_Origin>sample string 9</Url_Origin> <Url_Web>sample string 8</Url_Web> <ViewCount>1</ViewCount> </PostDocument> </FullPost>