POST api/Product/ListSaleDateHistory
Request Information
URI Parameters
None.
Body Parameters
ListSaleDateHistoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | globally unique identifier |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductId": "cf722251-077f-47c0-9cb3-fa17adf3941d",
"FromDate": "2026-11-17T15:50:42.4073922+07:00",
"ToDate": "2026-11-17T15:50:42.4073922+07:00",
"PageSize": 1,
"PageIndex": 1
}
application/xml, text/xml
Sample:
<ListSaleDateHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Product"> <FromDate>2026-11-17T15:50:42.4073922+07:00</FromDate> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <ProductId>cf722251-077f-47c0-9cb3-fa17adf3941d</ProductId> <ToDate>2026-11-17T15:50:42.4073922+07:00</ToDate> </ListSaleDateHistoryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PaginatorResponseOfListSaleDateHistoryResponse| 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 ListSaleDateHistoryResponse |
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": [
{
"OrderCode": "sample string 1",
"OrderTime": "2026-11-17T15:50:42.4181506+07:00",
"CustomerName": "sample string 3",
"SellerName": "sample string 4",
"Quantity": 5,
"UnitPrice": 6.0,
"TotalAmount": 7.0
},
{
"OrderCode": "sample string 1",
"OrderTime": "2026-11-17T15:50:42.4181506+07:00",
"CustomerName": "sample string 3",
"SellerName": "sample string 4",
"Quantity": 5,
"UnitPrice": 6.0,
"TotalAmount": 7.0
}
]
}
application/xml, text/xml
Sample:
<PaginatorResponseOfListSaleDateHistoryResponseUQB_PquzW 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.Response.Product">
<d2p1:ListSaleDateHistoryResponse>
<d2p1:CustomerName>sample string 3</d2p1:CustomerName>
<d2p1:OrderCode>sample string 1</d2p1:OrderCode>
<d2p1:OrderTime>2026-11-17T15:50:42.4181506+07:00</d2p1:OrderTime>
<d2p1:Quantity>5</d2p1:Quantity>
<d2p1:SellerName>sample string 4</d2p1:SellerName>
<d2p1:TotalAmount>7</d2p1:TotalAmount>
<d2p1:UnitPrice>6</d2p1:UnitPrice>
</d2p1:ListSaleDateHistoryResponse>
<d2p1:ListSaleDateHistoryResponse>
<d2p1:CustomerName>sample string 3</d2p1:CustomerName>
<d2p1:OrderCode>sample string 1</d2p1:OrderCode>
<d2p1:OrderTime>2026-11-17T15:50:42.4181506+07:00</d2p1:OrderTime>
<d2p1:Quantity>5</d2p1:Quantity>
<d2p1:SellerName>sample string 4</d2p1:SellerName>
<d2p1:TotalAmount>7</d2p1:TotalAmount>
<d2p1:UnitPrice>6</d2p1:UnitPrice>
</d2p1:ListSaleDateHistoryResponse>
</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>
</PaginatorResponseOfListSaleDateHistoryResponseUQB_PquzW>