POST api/trahang/DsPhieuTraHang

Danh sách phiếu trả hàng có lọc theo điều kiện kho hàng, chi nhánh từ ngày đến ngày Header truyền vào token

Request Information

URI Parameters

None.

Body Parameters

XemPhieuTra
NameDescriptionTypeAdditional information
IDChiNhanh

integer

None.

IDKho

integer

None.

TuNgay

string

None.

DenNgay

string

None.

Page

PageModel

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<XemPhieuTra 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>
  <IDKho>2</IDKho>
  <Page>
    <AllPage>2</AllPage>
    <Page>1</Page>
    <Size>3</Size>
    <TotalCount>4</TotalCount>
  </Page>
  <TuNgay>sample string 3</TuNgay>
</XemPhieuTra>

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>