POST api/NewsTranslation/GetNewsByType_v2

Request Information

URI Parameters

None.

Body Parameters

NewsByTypeAndLanguageModel
NameDescriptionTypeAdditional information
page

integer

None.

accountId

integer

None.

isHome

boolean

None.

gender

string

None.

language

string

None.

pmi

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "page": 1,
  "accountId": 2,
  "isHome": true,
  "gender": "sample string 4",
  "language": "sample string 2",
  "pmi": 1.1
}

text/plain, application/octet-stream

Sample:
{"page":1,"accountId":2,"isHome":true,"gender":"sample string 4","language":"sample string 2","pmi":1.1}

application/xml, text/xml

Sample:
<NewsByTypeAndLanguageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody">
  <accountId>2</accountId>
  <gender>sample string 4</gender>
  <isHome>true</isHome>
  <language>sample string 2</language>
  <page>1</page>
  <pmi>1.1</pmi>
</NewsByTypeAndLanguageModel>

multipart/form-data, application/form-data

Sample:
<NewsByTypeAndLanguageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.ApiRequestBody"><accountId>2</accountId><gender>sample string 4</gender><isHome>true</isHome><language>sample string 2</language><page>1</page><pmi>1.1</pmi></NewsByTypeAndLanguageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data

Sample:

Sample not available.