POST api/Article/GetArticleByProducerIds/{ArticleTypeKey}/{ArticlePropertyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ArticleTypeKey

string

Required

ArticlePropertyId

integer

Required

Body Parameters

FilterViewModel
NameDescriptionTypeAdditional information
ArticleCategoryIds

Collection of integer

None.

ProducerIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ArticleCategoryIds": [
    1,
    2
  ],
  "ProducerIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<FilterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArNikAPI.Services.Articles.Models">
  <ArticleCategoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ArticleCategoryIds>
  <ProducerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ProducerIds>
</FilterViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.