GET api/v1/getHomepageNewsList?homepagecategory={homepagecategory}&levelid={levelid}&levelvalue={levelvalue}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| homepagecategory | string |
Required |
|
| levelid | string |
Required |
|
| levelvalue | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HomepageNewsList| Name | Description | Type | Additional information |
|---|---|---|---|
| link | string |
None. |
|
| id | integer |
None. |
|
| title | string |
None. |
|
| coverimage | string |
None. |
|
| newsdate | string |
None. |
|
| newstime | string |
None. |
|
| state | string |
None. |
|
| boosted | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"link": "sample string 1",
"id": 2,
"title": "sample string 3",
"coverimage": "sample string 4",
"newsdate": "sample string 5",
"newstime": "sample string 6",
"state": "sample string 7",
"boosted": "sample string 8"
},
{
"link": "sample string 1",
"id": 2,
"title": "sample string 3",
"coverimage": "sample string 4",
"newsdate": "sample string 5",
"newstime": "sample string 6",
"state": "sample string 7",
"boosted": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfHomepageNewsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/zoobopdatapoint">
<HomepageNewsList>
<boosted>sample string 8</boosted>
<coverimage>sample string 4</coverimage>
<id>2</id>
<link>sample string 1</link>
<newsdate>sample string 5</newsdate>
<newstime>sample string 6</newstime>
<state>sample string 7</state>
<title>sample string 3</title>
</HomepageNewsList>
<HomepageNewsList>
<boosted>sample string 8</boosted>
<coverimage>sample string 4</coverimage>
<id>2</id>
<link>sample string 1</link>
<newsdate>sample string 5</newsdate>
<newstime>sample string 6</newstime>
<state>sample string 7</state>
<title>sample string 3</title>
</HomepageNewsList>
</ArrayOfHomepageNewsList>