POST api/qldathang/DSQuanLyDatHang

Danh sach đơn đặt hàng lọc có điều kiện theo chi nhánh, ngày lập từ ngày đến ngày Nếu ko truyền IDChiNhanh sẽ mặc định lấy tất cả chi nhánh có phân trang Header truyền vào token

Request Information

URI Parameters

None.

Body Parameters

XemPhieuDat
NameDescriptionTypeAdditional information
IDChiNhanh

integer

None.

IDTrangThai

integer

None.

TuNgay

string

None.

DenNgay

string

None.

page

PageModel

None.

Request Formats

application/json, text/json

Sample:
{
  "IDChiNhanh": 1,
  "IDTrangThai": 2,
  "TuNgay": "sample string 3",
  "DenNgay": "sample string 4",
  "page": {
    "Page": 1,
    "AllPage": 2,
    "Size": 3,
    "TotalCount": 4
  }
}

application/xml, text/xml

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

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>