POST api/tktonkho/ThongKeXuatKho

Thống kê hàng xuất kho theo chi nhánh, kho hàng từ ngày đến ngày Nếu không truyền IDKho, IDChiNhanh thì sẽ thống kê tất các kho của tất cả chi nhánh Thời gian kiểu string phải đúng một trong các định dạng { "dd/MM/yyyy HH:mm:ss", "dd/MM/yyyy HH:mm", "dd/MM/yyyy HH" }

Request Information

URI Parameters

None.

Body Parameters

XemXuatKho
NameDescriptionTypeAdditional information
IDChiNhanh

integer

None.

IDKho

integer

None.

NgayLapTu

string

None.

NgayLapDen

string

None.

page

PageModel

None.

Request Formats

application/json, text/json

Sample:
{
  "IDChiNhanh": 1,
  "IDKho": 2,
  "NgayLapTu": "sample string 3",
  "NgayLapDen": "sample string 4",
  "page": {
    "Page": 1,
    "AllPage": 2,
    "Size": 3,
    "TotalCount": 4
  }
}

application/xml, text/xml

Sample:
<XemXuatKho xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <IDChiNhanh>1</IDChiNhanh>
  <IDKho>2</IDKho>
  <NgayLapDen>sample string 4</NgayLapDen>
  <NgayLapTu>sample string 3</NgayLapTu>
  <page>
    <AllPage>2</AllPage>
    <Page>1</Page>
    <Size>3</Size>
    <TotalCount>4</TotalCount>
  </page>
</XemXuatKho>

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>