POST News/GetNewsById

Request Information

URI Parameters

None.

Body Parameters

SysNews
NameDescriptionTypeAdditional information
ID

integer

None.

post_title

string

None.

post_content

string

None.

guid

string

None.

url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "post_title": "sample string 2",
  "post_content": "sample string 3",
  "guid": "sample string 4",
  "url": "sample string 5"
}

application/xml, text/xml

Sample:
<SysNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <ID>1</ID>
  <guid>sample string 4</guid>
  <post_content>sample string 3</post_content>
  <post_title>sample string 2</post_title>
  <url>sample string 5</url>
</SysNews>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBean
NameDescriptionTypeAdditional information
statusCode

integer

None.

message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseBean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Common">
  <Data />
  <message>sample string 2</message>
  <statusCode>1</statusCode>
</ResponseBean>