GET api/Report/GetGeneralStatistics?StartTime={StartTime}&EndTime={EndTime}&tf={tf}&Lang={Lang}
Tạo dữ liệu biểu đồ thống kê
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| StartTime |
Từ ngày |
date |
Required |
| EndTime |
Đến ngày |
date |
Required |
| tf |
Lọc theo hội đồng (0=không lọc) |
integer |
Default value is 0 |
| Lang |
Ngôn ngữ của nội dung trả về. Có thể là "vi" (tiếng Việt) hoặc "en" (tiếng Anh). Mặc định là "vi". |
string |
Default value is vi |
Body Parameters
None.
Response Information
Resource Description
StatisticModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ChartData |
Danh sách các biểu đồ |
Collection of StatitisItemChart |
None. |
| Colors |
Danh sách màu để thiết lập cho biểu đồ |
string |
None. |
| StartTime |
Từ ngày |
date |
None. |
| EndTime |
Đến ngày |
date |
None. |
| tf |
tf: mã tổ quản trị cần lọc, tf=0: toàn bộ |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ChartData": [
{
"$id": "2",
"Name": "sample string 1",
"Description": "sample string 2",
"lb": "sample string 3",
"dt": "sample string 4",
"cl": "sample string 5",
"id": "sample string 6"
},
{
"$ref": "2"
}
],
"Colors": "sample string 1",
"StartTime": "2026-01-09T22:12:51.1786117+07:00",
"EndTime": "2026-01-09T22:12:51.1786117+07:00",
"tf": 4
}