POST api/thongke/TKDoanhSoTheoKH
Thống kê doanh số theo khách hàng
Request Information
URI Parameters
None.
Body Parameters
XemTKDoanhSo| Name | Description | Type | Additional information |
|---|---|---|---|
| Loai |
loai thong ke: 1 theo khách hàng, 2 theo chi nhánh |
integer |
None. |
| IDChiNhanh | integer |
None. |
|
| IDKhachHang | integer |
None. |
|
| TuNgay | string |
None. |
|
| DenNgay | string |
None. |
|
| LoaiTG |
1 ngày, 2 tháng, 3 quý, 4 năm |
integer |
None. |
| KhongTinhTraHang |
bao gồm hàng trả |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Loai": 1,
"IDChiNhanh": 2,
"IDKhachHang": 3,
"TuNgay": "sample string 4",
"DenNgay": "sample string 5",
"LoaiTG": 6,
"KhongTinhTraHang": true
}
application/xml, text/xml
Sample:
<XemTKDoanhSo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <DenNgay>sample string 5</DenNgay> <IDChiNhanh>2</IDChiNhanh> <IDKhachHang>3</IDKhachHang> <KhongTinhTraHang>true</KhongTinhTraHang> <Loai>1</Loai> <LoaiTG>6</LoaiTG> <TuNgay>sample string 4</TuNgay> </XemTKDoanhSo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | Object |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {},
"error": {
"message": "sample string 1",
"code": "sample string 2"
}
}
application/xml, text/xml
Sample:
<BaseModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
<data />
<error>
<code>sample string 2</code>
<message>sample string 1</message>
</error>
<page />
<status>1</status>
</BaseModelOfanyType>