GET api/nhaphang/LayMaPhieuNhap
Lấy mã phiếu nhập
Request Information
URI Parameters
None.
Body Parameters
XemTonKho| Name | Description | Type | Additional information |
|---|---|---|---|
| IDChiNhanh | integer |
None. |
|
| IDKho | integer |
None. |
|
| TonTuNgay | string |
None. |
|
| TonDenNgay | string |
None. |
|
| IDLoaiHang | integer |
None. |
|
| XemTonKhong | boolean |
None. |
|
| page | PageModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"IDChiNhanh": 1,
"IDKho": 2,
"TonTuNgay": "sample string 3",
"TonDenNgay": "sample string 4",
"IDLoaiHang": 5,
"XemTonKhong": true,
"page": {
"Page": 1,
"AllPage": 2,
"Size": 3,
"TotalCount": 4
}
}
application/xml, text/xml
Sample:
<XemTonKho 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>
<IDLoaiHang>5</IDLoaiHang>
<TonDenNgay>sample string 4</TonDenNgay>
<TonTuNgay>sample string 3</TonTuNgay>
<XemTonKhong>true</XemTonKhong>
<page>
<AllPage>2</AllPage>
<Page>1</Page>
<Size>3</Size>
<TotalCount>4</TotalCount>
</page>
</XemTonKho>
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>