POST api/News/get

Request Information

URI Parameters

None.

Body Parameters

clsInputNews
NameDescriptionTypeAdditional information
token

string

None.

type

string

None.

newsID

string

None.

cat_id

integer

None.

skip

integer

None.

is_select_content

integer

None.

maNhanVien

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "type": "sample string 2",
  "newsID": "sample string 3",
  "cat_id": 4,
  "skip": 5,
  "is_select_content": 6,
  "maNhanVien": "sample string 7"
}

application/xml, text/xml

Sample:
<clsInputNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pfcExtraClass.API.news">
  <cat_id>4</cat_id>
  <is_select_content>6</is_select_content>
  <maNhanVien>sample string 7</maNhanVien>
  <newsID>sample string 3</newsID>
  <skip>5</skip>
  <token>sample string 1</token>
  <type>sample string 2</type>
</clsInputNews>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and Object [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {},
  "sample string 3": {}
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>sample string 1</Key>
    <Value />
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>sample string 3</Key>
    <Value />
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>