POST api/thongke/TKDoanhSo

Thống kê doanh số

Request Information

URI Parameters

None.

Body Parameters

//loai thong ke: 1 theo khách hàng, 2 theo chi nhánh

XemThongKeDoanhSo
NameDescriptionTypeAdditional information
IDChiNhanh

string

None.

TuNgay

string

None.

DenNgay

string

None.

Loai

0 tháng, 1 tuần, 2 ngày

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IDChiNhanh": "sample string 1",
  "TuNgay": "sample string 2",
  "DenNgay": "sample string 3",
  "Loai": 4
}

application/xml, text/xml

Sample:
<XemThongKeDoanhSo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <DenNgay>sample string 3</DenNgay>
  <IDChiNhanh>sample string 1</IDChiNhanh>
  <Loai>4</Loai>
  <TuNgay>sample string 2</TuNgay>
</XemThongKeDoanhSo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseModelOfObject
NameDescriptionTypeAdditional 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>