GET api/nhaphang/HuyXacNhanNhapKho?id={id}

Nếu không muốn hàng nhập kho thì cập nhật IDThuKho, NgayNhapKho=null, ModifiedBy:id người hủy nhập kho và lưu lại log lý do hủy nhập kho vào bảng PhieuNhap Lưu ý: Không được bỏ xác nhận phiếu nhập của người khác Header truyền vào token

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

là IDPhieuNhap

integer

Required

Body Parameters

None.

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>