GET api/Posts/PostsOfCompanyTypedWithoutDuplicate/{companyId}/{postTypeId}
Get All Post of CompanyId with postType equal to postTypeId ( withoutduplicate call is deprecated )
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
|
| postTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Post| Name | Description | Type | Additional information |
|---|---|---|---|
| PostId | integer |
None. |
|
| PostTypeId | integer |
None. |
|
| Title | string |
None. |
|
| EmployesId | integer |
None. |
|
| Txt | string |
None. |
|
| SiteId | integer |
None. |
|
| ValidationModeration | boolean |
None. |
|
| Draft | boolean |
None. |
|
| Adress | string |
None. |
|
| ViewCount | integer |
None. |
|
| LikesCount | integer |
None. |
|
| PublishedDate | date |
None. |
|
| PriorityTo | date |
None. |
|
| ModerationComment | string |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
|
| HasDuplicate | boolean |
None. |
|
| LanguageId | integer |
None. |
|
| IsTargetPost | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"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-12-27T10:05:43.5070525+00:00",
"PriorityTo": "2025-12-27T10:05:43.5070525+00:00",
"ModerationComment": "sample string 13",
"LastChanged": "2025-12-27T10:05:43.5070525+00:00",
"LastChange_AuthorId": 1,
"HasDuplicate": true,
"LanguageId": 1,
"IsTargetPost": true
},
{
"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-12-27T10:05:43.5070525+00:00",
"PriorityTo": "2025-12-27T10:05:43.5070525+00:00",
"ModerationComment": "sample string 13",
"LastChanged": "2025-12-27T10:05:43.5070525+00:00",
"LastChange_AuthorId": 1,
"HasDuplicate": true,
"LanguageId": 1,
"IsTargetPost": true
}
]
application/xml, text/xml
Sample:
<ArrayOfPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
<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-12-27T10:05:43.5070525+00:00</LastChanged>
<LikesCount>11</LikesCount>
<ModerationComment>sample string 13</ModerationComment>
<PostId>1</PostId>
<PostTypeId>2</PostTypeId>
<PriorityTo>2025-12-27T10:05:43.5070525+00:00</PriorityTo>
<PublishedDate>2025-12-27T10:05:43.5070525+00:00</PublishedDate>
<SiteId>6</SiteId>
<Title>sample string 3</Title>
<Txt>sample string 5</Txt>
<ValidationModeration>true</ValidationModeration>
<ViewCount>10</ViewCount>
</Post>
<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-12-27T10:05:43.5070525+00:00</LastChanged>
<LikesCount>11</LikesCount>
<ModerationComment>sample string 13</ModerationComment>
<PostId>1</PostId>
<PostTypeId>2</PostTypeId>
<PriorityTo>2025-12-27T10:05:43.5070525+00:00</PriorityTo>
<PublishedDate>2025-12-27T10:05:43.5070525+00:00</PublishedDate>
<SiteId>6</SiteId>
<Title>sample string 3</Title>
<Txt>sample string 5</Txt>
<ValidationModeration>true</ValidationModeration>
<ViewCount>10</ViewCount>
</Post>
</ArrayOfPost>