GET api/TinTuc/GetTopList?count={count}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| count | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetTopListTinTucResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| TenChuDe | string |
None. |
|
| TieuDe | string |
None. |
|
| DanhMucChuDeTinTucId | decimal number |
None. |
|
| MoTa | string |
None. |
|
| AnhBiaId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "95351681-a94e-4b41-bc02-67b892f68946",
"TenChuDe": "sample string 2",
"TieuDe": "sample string 3",
"DanhMucChuDeTinTucId": 4.0,
"MoTa": "sample string 5",
"AnhBiaId": "44ba6d60-8a79-4631-b337-e0a2c0e31fe6"
},
{
"Id": "95351681-a94e-4b41-bc02-67b892f68946",
"TenChuDe": "sample string 2",
"TieuDe": "sample string 3",
"DanhMucChuDeTinTucId": 4.0,
"MoTa": "sample string 5",
"AnhBiaId": "44ba6d60-8a79-4631-b337-e0a2c0e31fe6"
}
]
application/xml, text/xml
Sample:
<ArrayOfGetTopListTinTucResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Response.TinTuc">
<GetTopListTinTucResponse>
<AnhBiaId>44ba6d60-8a79-4631-b337-e0a2c0e31fe6</AnhBiaId>
<DanhMucChuDeTinTucId>4</DanhMucChuDeTinTucId>
<Id>95351681-a94e-4b41-bc02-67b892f68946</Id>
<MoTa>sample string 5</MoTa>
<TenChuDe>sample string 2</TenChuDe>
<TieuDe>sample string 3</TieuDe>
</GetTopListTinTucResponse>
<GetTopListTinTucResponse>
<AnhBiaId>44ba6d60-8a79-4631-b337-e0a2c0e31fe6</AnhBiaId>
<DanhMucChuDeTinTucId>4</DanhMucChuDeTinTucId>
<Id>95351681-a94e-4b41-bc02-67b892f68946</Id>
<MoTa>sample string 5</MoTa>
<TenChuDe>sample string 2</TenChuDe>
<TieuDe>sample string 3</TieuDe>
</GetTopListTinTucResponse>
</ArrayOfGetTopListTinTucResponse>