POST Post/GetPostList

Request Information

URI Parameters

None.

Body Parameters

PostListRequestModel
NameDescriptionTypeAdditional information
CompanyId

integer

None.

CategoryId

integer

None.

Limit

integer

None.

Page

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "CategoryId": 2,
  "Limit": 3,
  "Page": 4
}

application/xml, text/xml

Sample:
<PostListRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VitaCabinetry.Model.Post">
  <CategoryId>2</CategoryId>
  <CompanyId>1</CompanyId>
  <Limit>3</Limit>
  <Page>4</Page>
</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/" />