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": "2026-11-27T01:55:48.7719459+07:00",
"createdId": "de564ffd-795f-473b-a5ab-7d3560aed8ae",
"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>de564ffd-795f-473b-a5ab-7d3560aed8ae</CreatedId> <CreatedTime>2026-11-27T01:55:48.7719459+07:00</CreatedTime> <DanhMucChuDeTinTucId>1</DanhMucChuDeTinTucId> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <TieuDe>sample string 1</TieuDe> </GetListTinTucRequest>
application/x-www-form-urlencoded
Sample:
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. |
|
| NhapHang_SoTienDaDua | decimal number |
None. |
|
| NhapHang_SoLuongSanPham | decimal number |
None. |
|
| NhapHang_TongTienSanPham | decimal number |
None. |
|
| NhapHang_HoanTien | decimal number |
None. |
|
| NhapHang_GhiChuTien | decimal number |
None. |
|
| SumTotalRevenue | decimal number |
None. |
|
| SumTotalExpense | decimal number |
None. |
|
| SumTotalRefund | decimal number |
None. |
|
| SumBudgetVariance | 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,
"nhapHang_SoTienDaDua": 9.0,
"nhapHang_SoLuongSanPham": 10.0,
"nhapHang_TongTienSanPham": 11.0,
"nhapHang_HoanTien": 12.0,
"nhapHang_GhiChuTien": 13.0,
"sumTotalRevenue": 14.0,
"sumTotalExpense": 15.0,
"sumTotalRefund": 16.0,
"sumBudgetVariance": 17.0,
"items": [
{
"id": "643fe914-c8ec-4cfb-8c7b-cdd51ff2ee39",
"tieuDe": "sample string 1",
"tenChuDe": "sample string 2",
"moTa": "sample string 3",
"danhMucChuDeTinTucId": 1.0,
"anhBiaId": "45b132bd-4f6d-4124-8b51-918bcbbea5f4",
"noiDung": "sample string 4",
"trangThai": true,
"publishedTime": "2026-11-27T01:55:48.7729264+07:00",
"mucDoUuTien": 1,
"isBanner": true,
"urlImage": "sample string 6",
"anhBanner": "e5d8f8dc-bf5e-4bfc-b732-80f148320e94",
"positionId": 7,
"tenMucDoUuTien": "Cao",
"publishedTimeStr": "27/11/2026",
"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": "643fe914-c8ec-4cfb-8c7b-cdd51ff2ee39",
"tieuDe": "sample string 1",
"tenChuDe": "sample string 2",
"moTa": "sample string 3",
"danhMucChuDeTinTucId": 1.0,
"anhBiaId": "45b132bd-4f6d-4124-8b51-918bcbbea5f4",
"noiDung": "sample string 4",
"trangThai": true,
"publishedTime": "2026-11-27T01:55:48.7729264+07:00",
"mucDoUuTien": 1,
"isBanner": true,
"urlImage": "sample string 6",
"anhBanner": "e5d8f8dc-bf5e-4bfc-b732-80f148320e94",
"positionId": 7,
"tenMucDoUuTien": "Cao",
"publishedTimeStr": "27/11/2026",
"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>e5d8f8dc-bf5e-4bfc-b732-80f148320e94</d2p1:AnhBanner>
<d2p1:AnhBiaId>45b132bd-4f6d-4124-8b51-918bcbbea5f4</d2p1:AnhBiaId>
<d2p1:BackgroundColorBanner>sample string 9</d2p1:BackgroundColorBanner>
<d2p1:DanhMucChuDeTinTucId>1</d2p1:DanhMucChuDeTinTucId>
<d2p1:HienThiTextBanner>true</d2p1:HienThiTextBanner>
<d2p1:Id>643fe914-c8ec-4cfb-8c7b-cdd51ff2ee39</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>2026-11-27T01:55:48.7729264+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>e5d8f8dc-bf5e-4bfc-b732-80f148320e94</d2p1:AnhBanner>
<d2p1:AnhBiaId>45b132bd-4f6d-4124-8b51-918bcbbea5f4</d2p1:AnhBiaId>
<d2p1:BackgroundColorBanner>sample string 9</d2p1:BackgroundColorBanner>
<d2p1:DanhMucChuDeTinTucId>1</d2p1:DanhMucChuDeTinTucId>
<d2p1:HienThiTextBanner>true</d2p1:HienThiTextBanner>
<d2p1:Id>643fe914-c8ec-4cfb-8c7b-cdd51ff2ee39</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>2026-11-27T01:55:48.7729264+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>
<NhapHang_GhiChuTien>13</NhapHang_GhiChuTien>
<NhapHang_HoanTien>12</NhapHang_HoanTien>
<NhapHang_SoLuongSanPham>10</NhapHang_SoLuongSanPham>
<NhapHang_SoTienDaDua>9</NhapHang_SoTienDaDua>
<NhapHang_TongTienSanPham>11</NhapHang_TongTienSanPham>
<PayingAmount>3</PayingAmount>
<SumBudgetVariance>17</SumBudgetVariance>
<SumTotalExpense>15</SumTotalExpense>
<SumTotalRefund>16</SumTotalRefund>
<SumTotalRevenue>14</SumTotalRevenue>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfTinTucDtolxDttoYQ>