POST api/TinTuc/DanhSachTinTuc
Request Information
URI Parameters
None.
Body Parameters
GetListTinTucRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CreatedTime | date |
None. |
|
| CreatedId | globally unique identifier |
None. |
|
| TieuDe | string |
None. |
|
| DanhMucChuDeTinTucId | decimal number |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CreatedTime": "2025-10-26T13:18:48.1460506+07:00",
"CreatedId": "e26a158d-1056-4227-8b40-bb211956db6d",
"TieuDe": "sample string 1",
"DanhMucChuDeTinTucId": 1.0,
"PageSize": 1,
"PageIndex": 1
}
application/xml, text/xml
Sample:
<GetListTinTucRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.TinTuc"> <CreatedId>e26a158d-1056-4227-8b40-bb211956db6d</CreatedId> <CreatedTime>2025-10-26T13:18:48.1460506+07:00</CreatedTime> <DanhMucChuDeTinTucId>1</DanhMucChuDeTinTucId> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <TieuDe>sample string 1</TieuDe> </GetListTinTucRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaginatorResponseOfTinTucDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| TotalMoney | decimal number |
None. |
|
| PayingAmount | decimal number |
None. |
|
| TotalIncome | decimal number |
None. |
|
| TotalSpend | decimal number |
None. |
|
| TotalDebt | decimal number |
None. |
|
| TotalOrderAmount | decimal number |
None. |
|
| TotalPaid | decimal number |
None. |
|
| Items | Collection of TinTucDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Count": 1,
"TotalMoney": 2.0,
"PayingAmount": 3.0,
"TotalIncome": 4.0,
"TotalSpend": 5.0,
"TotalDebt": 6.0,
"TotalOrderAmount": 7.0,
"TotalPaid": 8.0,
"Items": [
{
"Id": "2dafd945-14b0-4fa4-a749-278c6411402b",
"TieuDe": "sample string 1",
"TenChuDe": "sample string 2",
"MoTa": "sample string 3",
"DanhMucChuDeTinTucId": 1.0,
"AnhBiaId": "38f60d52-da3a-4283-ad10-f98719cd1745",
"NoiDung": "sample string 4",
"TrangThai": true,
"PublishedTime": "2025-10-26T13:18:48.147981+07:00",
"MucDoUuTien": 1,
"IsBanner": true,
"UrlImage": "sample string 6",
"AnhBanner": "6ad5ed86-faeb-4e64-9965-1bad948c689e",
"PositionId": 7,
"TenMucDoUuTien": "Cao",
"PublishedTimeStr": "26/10/2025",
"SeName": "sample string 8",
"HienThiTextBanner": true,
"ViTriBanner": 1,
"ViTriBannerStr": "Banner quảng cáo - Trang chủ - Vị trí trên cùng (header)",
"BackgroundColorBanner": "sample string 9",
"UrlBanner": "sample string 10"
},
{
"Id": "2dafd945-14b0-4fa4-a749-278c6411402b",
"TieuDe": "sample string 1",
"TenChuDe": "sample string 2",
"MoTa": "sample string 3",
"DanhMucChuDeTinTucId": 1.0,
"AnhBiaId": "38f60d52-da3a-4283-ad10-f98719cd1745",
"NoiDung": "sample string 4",
"TrangThai": true,
"PublishedTime": "2025-10-26T13:18:48.147981+07:00",
"MucDoUuTien": 1,
"IsBanner": true,
"UrlImage": "sample string 6",
"AnhBanner": "6ad5ed86-faeb-4e64-9965-1bad948c689e",
"PositionId": 7,
"TenMucDoUuTien": "Cao",
"PublishedTimeStr": "26/10/2025",
"SeName": "sample string 8",
"HienThiTextBanner": true,
"ViTriBanner": 1,
"ViTriBannerStr": "Banner quảng cáo - Trang chủ - Vị trí trên cùng (header)",
"BackgroundColorBanner": "sample string 9",
"UrlBanner": "sample string 10"
}
]
}
application/xml, text/xml
Sample:
<PaginatorResponseOfTinTucDtolxDttoYQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Generics">
<Count>1</Count>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Common.Model.Dto">
<d2p1:TinTucDto>
<d2p1:AnhBanner>6ad5ed86-faeb-4e64-9965-1bad948c689e</d2p1:AnhBanner>
<d2p1:AnhBiaId>38f60d52-da3a-4283-ad10-f98719cd1745</d2p1:AnhBiaId>
<d2p1:BackgroundColorBanner>sample string 9</d2p1:BackgroundColorBanner>
<d2p1:DanhMucChuDeTinTucId>1</d2p1:DanhMucChuDeTinTucId>
<d2p1:HienThiTextBanner>true</d2p1:HienThiTextBanner>
<d2p1:Id>2dafd945-14b0-4fa4-a749-278c6411402b</d2p1:Id>
<d2p1:IsBanner>true</d2p1:IsBanner>
<d2p1:MoTa>sample string 3</d2p1:MoTa>
<d2p1:MucDoUuTien>1</d2p1:MucDoUuTien>
<d2p1:NoiDung>sample string 4</d2p1:NoiDung>
<d2p1:PositionId>7</d2p1:PositionId>
<d2p1:PublishedTime>2025-10-26T13:18:48.147981+07:00</d2p1:PublishedTime>
<d2p1:SeName>sample string 8</d2p1:SeName>
<d2p1:TenChuDe>sample string 2</d2p1:TenChuDe>
<d2p1:TieuDe>sample string 1</d2p1:TieuDe>
<d2p1:TrangThai>true</d2p1:TrangThai>
<d2p1:UrlBanner>sample string 10</d2p1:UrlBanner>
<d2p1:UrlImage>sample string 6</d2p1:UrlImage>
<d2p1:ViTriBanner>1</d2p1:ViTriBanner>
</d2p1:TinTucDto>
<d2p1:TinTucDto>
<d2p1:AnhBanner>6ad5ed86-faeb-4e64-9965-1bad948c689e</d2p1:AnhBanner>
<d2p1:AnhBiaId>38f60d52-da3a-4283-ad10-f98719cd1745</d2p1:AnhBiaId>
<d2p1:BackgroundColorBanner>sample string 9</d2p1:BackgroundColorBanner>
<d2p1:DanhMucChuDeTinTucId>1</d2p1:DanhMucChuDeTinTucId>
<d2p1:HienThiTextBanner>true</d2p1:HienThiTextBanner>
<d2p1:Id>2dafd945-14b0-4fa4-a749-278c6411402b</d2p1:Id>
<d2p1:IsBanner>true</d2p1:IsBanner>
<d2p1:MoTa>sample string 3</d2p1:MoTa>
<d2p1:MucDoUuTien>1</d2p1:MucDoUuTien>
<d2p1:NoiDung>sample string 4</d2p1:NoiDung>
<d2p1:PositionId>7</d2p1:PositionId>
<d2p1:PublishedTime>2025-10-26T13:18:48.147981+07:00</d2p1:PublishedTime>
<d2p1:SeName>sample string 8</d2p1:SeName>
<d2p1:TenChuDe>sample string 2</d2p1:TenChuDe>
<d2p1:TieuDe>sample string 1</d2p1:TieuDe>
<d2p1:TrangThai>true</d2p1:TrangThai>
<d2p1:UrlBanner>sample string 10</d2p1:UrlBanner>
<d2p1:UrlImage>sample string 6</d2p1:UrlImage>
<d2p1:ViTriBanner>1</d2p1:ViTriBanner>
</d2p1:TinTucDto>
</Items>
<PayingAmount>3</PayingAmount>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfTinTucDtolxDttoYQ>