GET api/Posts/PostListTypedInStateForCompany/{postTypeId}/{companyId}/{state}

Get All PostIds of CompanyId with postType equal to postTypeId on spesific state ("Published", "Waiting_moderation" or "Waiting_modification")

Request Information

URI Parameters

NameDescriptionTypeAdditional information
postTypeId

integer

Required

companyId

integer

Required

state

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of integer

Response Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>