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": "f8fee85b-a5ee-44d3-9149-23142b227b76",
"tenChuDe": "sample string 2",
"tieuDe": "sample string 3",
"danhMucChuDeTinTucId": 4.0,
"moTa": "sample string 5",
"anhBiaId": "605e916b-d0b0-4b33-a43d-37369e4b8c94"
},
{
"id": "f8fee85b-a5ee-44d3-9149-23142b227b76",
"tenChuDe": "sample string 2",
"tieuDe": "sample string 3",
"danhMucChuDeTinTucId": 4.0,
"moTa": "sample string 5",
"anhBiaId": "605e916b-d0b0-4b33-a43d-37369e4b8c94"
}
]
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>605e916b-d0b0-4b33-a43d-37369e4b8c94</AnhBiaId>
<DanhMucChuDeTinTucId>4</DanhMucChuDeTinTucId>
<Id>f8fee85b-a5ee-44d3-9149-23142b227b76</Id>
<MoTa>sample string 5</MoTa>
<TenChuDe>sample string 2</TenChuDe>
<TieuDe>sample string 3</TieuDe>
</GetTopListTinTucResponse>
<GetTopListTinTucResponse>
<AnhBiaId>605e916b-d0b0-4b33-a43d-37369e4b8c94</AnhBiaId>
<DanhMucChuDeTinTucId>4</DanhMucChuDeTinTucId>
<Id>f8fee85b-a5ee-44d3-9149-23142b227b76</Id>
<MoTa>sample string 5</MoTa>
<TenChuDe>sample string 2</TenChuDe>
<TieuDe>sample string 3</TieuDe>
</GetTopListTinTucResponse>
</ArrayOfGetTopListTinTucResponse>