POST api/Posts/PostAlert

Post Alert

Request Information

URI Parameters

None.

Body Parameters

Post
NameDescriptionTypeAdditional 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.

Request 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-08-14T03:10:19.6962919+00:00",
  "PriorityTo": "2025-08-14T03:10:19.6962919+00:00",
  "ModerationComment": "sample string 13",
  "LastChanged": "2025-08-14T03:10:19.6962919+00:00",
  "LastChange_AuthorId": 1,
  "HasDuplicate": true,
  "LanguageId": 1,
  "IsTargetPost": true
}

application/xml, text/xml

Sample:
<Post xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <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:10:19.6962919+00:00</LastChanged>
  <LikesCount>11</LikesCount>
  <ModerationComment>sample string 13</ModerationComment>
  <PostId>1</PostId>
  <PostTypeId>2</PostTypeId>
  <PriorityTo>2025-08-14T03:10:19.6962919+00:00</PriorityTo>
  <PublishedDate>2025-08-14T03:10:19.6962919+00:00</PublishedDate>
  <SiteId>6</SiteId>
  <Title>sample string 3</Title>
  <Txt>sample string 5</Txt>
  <ValidationModeration>true</ValidationModeration>
  <ViewCount>10</ViewCount>
</Post>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Post'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>