POST Post/GetPostList

Request Information

URI Parameters

None.

Body Parameters

PostListRequestModel
NameDescriptionTypeAdditional information
AuthorId

integer

None.

PeriodId

integer

None.

PostId

integer

None.

CategoryId

integer

None.

Text

string

None.

Page

integer

None.

Limit

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AuthorId": 1,
  "PeriodId": 2,
  "PostId": 3,
  "CategoryId": 4,
  "Text": "sample string 5",
  "Page": 6,
  "Limit": 7
}

application/xml, text/xml

Sample:
<PostListRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SerhendYayinlari.Business.Model.Post">
  <AuthorId>1</AuthorId>
  <CategoryId>4</CategoryId>
  <Limit>7</Limit>
  <Page>6</Page>
  <PeriodId>2</PeriodId>
  <PostId>3</PostId>
  <Text>sample string 5</Text>
</PostListRequestModel>

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 'PostListRequestModel'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />