POST api/PhieuDatHang/InsertPhieuDatHang

Request Information

URI Parameters

None.

Body Parameters

ParamsPhieuDatHang
NameDescriptionTypeAdditional information
ItemPhieuDatHang

string

None.

ListPhieuDatHangSub

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemPhieuDatHang": "sample string 1",
  "ListPhieuDatHangSub": "sample string 2",
  "UserName": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PhieuDatHangInfo
NameDescriptionTypeAdditional information
SoCT

string

None.

Ngay

date

None.

MSK

string

None.

Supplier_ID

string

None.

DaiDien

string

None.

DCGiaohang

string

None.

NgayGiao

date

None.

PTVC

string

None.

Hinhthucnhan

string

None.

Dienthoai

string

None.

DienthoaiNNhan

string

None.

PTThanhtoan

string

None.

XNDVC

string

None.

Duatruoc

decimal number

None.

SoHD

string

None.

TenHD

string

None.

DCHD

string

None.

MSTHueHD

string

None.

KHHD

string

None.

NgayHD

date

None.

Nguoitiepnhan

string

None.

NLCC

integer

None.

Nguoiyeucau

string

None.

TDV

string

None.

SoLenhSX

string

None.

TenHang

string

None.

Nguoigo

string

None.

ModifiedDate

date

None.

ModifiedBy

string

None.

Email

string

None.

Soctxuat

string

None.

Soctthu

string

None.

Tygia

decimal number

None.

NGAYGIO

date

None.

TUYEN

string

None.

CAID

string

None.

TrangThai

string

None.

Nguoiduyet

string

None.

SoCTBG

string

None.

ThuKho

string

None.

Duyet

integer

None.

NguoiLap

string

None.

PhuongThucGiaoNhan

string

None.

PhiVanChuyen

string

None.

LichSuTrangThai

string

None.

SoCTKhachHang

string

None.

DienThoaiTrungGian

string

None.

NguoiTrungGian

string

None.

DiaChiTrungGian

string

None.

TenNguoiNhan

string

None.

JobCode

string

None.

ContractID

string

None.

DuocSua

integer

None.

FileHieuQuaKinhDoanh

Collection of byte

None.

ChiPhi

decimal number

None.

HoaHong

decimal number

None.

LaiSuat

decimal number

None.

PhuThu

decimal number

None.

NhanVienVanChuyen

string

None.

NhanVienLapDat

string

None.

ThanhTienChuaThue

decimal number

None.

ThanhTien

decimal number

None.

TienThue

decimal number

None.

ConLai

decimal number

None.

TrangThaiSanXuat

string

None.

NVThuTienCoc

string

None.

DiachighiHD

string

None.

Lydo

string

None.

IDDatHang

integer

None.

SoCTPhongToa

string

None.

MauSoHD

string

None.

SoLenhDieuDong

string

None.

VeViec

string

None.

KhoNhap

string

None.

BHTN

string

None.

ListSub

Collection of PhieuDatHangSubInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "ListSub": [
    {
      "SoCT": "sample string 1",
      "Product_ID": "sample string 2",
      "SL": 3.1,
      "Dongia": 4.1,
      "Thue": 5.1,
      "Ghichu": "sample string 6",
      "SLThucxuat": 1.1,
      "SLGiamtru": 1.1,
      "ModifiedDate": "2022-05-23T16:16:38.3542023+07:00",
      "ModifiedBy": "sample string 7",
      "DongiaVND": 1.1,
      "Loaitien": "sample string 8",
      "BH": 1,
      "SLNguyen": 1.1,
      "Hesochuyendoi": 1.1,
      "DongiaNguyen": 1.1,
      "Dvt": "sample string 9",
      "LoaiDiscount": 1,
      "SoTien": 1.1,
      "GiaBan": 1.1,
      "PromotionID": "sample string 10",
      "GiatriDisCount": 1.1,
      "ThanhTienChuaThue": 1.1,
      "ThanhTien": 1.1,
      "GiatriDisCountKTS": 1.1,
      "SoCTBG": "sample string 11",
      "TenHang": "sample string 12",
      "ThanhTienCoThue": 1.1,
      "SoLuongYeuCau": 1.1,
      "SoLuongThuc": 1.1,
      "DonGiaThuc": 1.1,
      "Lo": "sample string 13",
      "PO": "sample string 14",
      "LoaiThue": "sample string 15",
      "TongChietKhau": 1.1,
      "MaTK": "sample string 16",
      "SLLe": 1.1,
      "IDNhanVienPhuTrach": "sample string 17",
      "IDPhieuDatHangSub": 18,
      "MaKho": "sample string 19",
      "Size": "sample string 20",
      "DonGiaCoThue": 1.1,
      "Dai": 1.1,
      "Rong": 1.1,
      "TrangThaiSanXuat": "sample string 21",
      "LotNo": "sample string 22",
      "MayBo": "sample string 23",
      "SLDVT2": 1.1,
      "SLDVT3": 1.1,
      "SLVien": 1.1,
      "ContractID": "sample string 24",
      "Description": "sample string 25"
    },
    {
      "SoCT": "sample string 1",
      "Product_ID": "sample string 2",
      "SL": 3.1,
      "Dongia": 4.1,
      "Thue": 5.1,
      "Ghichu": "sample string 6",
      "SLThucxuat": 1.1,
      "SLGiamtru": 1.1,
      "ModifiedDate": "2022-05-23T16:16:38.3542023+07:00",
      "ModifiedBy": "sample string 7",
      "DongiaVND": 1.1,
      "Loaitien": "sample string 8",
      "BH": 1,
      "SLNguyen": 1.1,
      "Hesochuyendoi": 1.1,
      "DongiaNguyen": 1.1,
      "Dvt": "sample string 9",
      "LoaiDiscount": 1,
      "SoTien": 1.1,
      "GiaBan": 1.1,
      "PromotionID": "sample string 10",
      "GiatriDisCount": 1.1,
      "ThanhTienChuaThue": 1.1,
      "ThanhTien": 1.1,
      "GiatriDisCountKTS": 1.1,
      "SoCTBG": "sample string 11",
      "TenHang": "sample string 12",
      "ThanhTienCoThue": 1.1,
      "SoLuongYeuCau": 1.1,
      "SoLuongThuc": 1.1,
      "DonGiaThuc": 1.1,
      "Lo": "sample string 13",
      "PO": "sample string 14",
      "LoaiThue": "sample string 15",
      "TongChietKhau": 1.1,
      "MaTK": "sample string 16",
      "SLLe": 1.1,
      "IDNhanVienPhuTrach": "sample string 17",
      "IDPhieuDatHangSub": 18,
      "MaKho": "sample string 19",
      "Size": "sample string 20",
      "DonGiaCoThue": 1.1,
      "Dai": 1.1,
      "Rong": 1.1,
      "TrangThaiSanXuat": "sample string 21",
      "LotNo": "sample string 22",
      "MayBo": "sample string 23",
      "SLDVT2": 1.1,
      "SLDVT3": 1.1,
      "SLVien": 1.1,
      "ContractID": "sample string 24",
      "Description": "sample string 25"
    }
  ],
  "SoCT": "sample string 1",
  "Ngay": "2022-05-23T16:16:38.3542023+07:00",
  "MSK": "sample string 2",
  "Supplier_ID": "sample string 3",
  "DaiDien": "sample string 4",
  "DCGiaohang": "sample string 5",
  "NgayGiao": "2022-05-23T16:16:38.3542023+07:00",
  "PTVC": "sample string 6",
  "Hinhthucnhan": "sample string 7",
  "Dienthoai": "sample string 8",
  "DienthoaiNNhan": "sample string 9",
  "PTThanhtoan": "sample string 10",
  "XNDVC": "sample string 11",
  "Duatruoc": 1.1,
  "SoHD": "sample string 12",
  "TenHD": "sample string 13",
  "DCHD": "sample string 14",
  "MSTHueHD": "sample string 15",
  "KHHD": "sample string 16",
  "NgayHD": "2022-05-23T16:16:38.3542023+07:00",
  "Nguoitiepnhan": "sample string 17",
  "NLCC": 1,
  "Nguoiyeucau": "sample string 18",
  "TDV": "sample string 19",
  "SoLenhSX": "sample string 20",
  "TenHang": "sample string 21",
  "Nguoigo": "sample string 22",
  "ModifiedDate": "2022-05-23T16:16:38.3542023+07:00",
  "ModifiedBy": "sample string 23",
  "Email": "sample string 24",
  "Soctxuat": "sample string 25",
  "Soctthu": "sample string 26",
  "Tygia": 1.1,
  "NGAYGIO": "2022-05-23T16:16:38.3542023+07:00",
  "TUYEN": "sample string 27",
  "CAID": "sample string 28",
  "TrangThai": "sample string 29",
  "Nguoiduyet": "sample string 30",
  "SoCTBG": "sample string 31",
  "ThuKho": "sample string 32",
  "Duyet": 1,
  "NguoiLap": "sample string 33",
  "PhuongThucGiaoNhan": "sample string 34",
  "PhiVanChuyen": "sample string 35",
  "LichSuTrangThai": "sample string 36",
  "SoCTKhachHang": "sample string 37",
  "DienThoaiTrungGian": "sample string 38",
  "NguoiTrungGian": "sample string 39",
  "DiaChiTrungGian": "sample string 40",
  "TenNguoiNhan": "sample string 41",
  "JobCode": "sample string 42",
  "ContractID": "sample string 43",
  "DuocSua": 1,
  "FileHieuQuaKinhDoanh": "QEA=",
  "ChiPhi": 1.1,
  "HoaHong": 1.1,
  "LaiSuat": 1.1,
  "PhuThu": 1.1,
  "NhanVienVanChuyen": "sample string 44",
  "NhanVienLapDat": "sample string 45",
  "ThanhTienChuaThue": 1.1,
  "ThanhTien": 1.1,
  "TienThue": 1.1,
  "ConLai": 1.1,
  "TrangThaiSanXuat": "sample string 46",
  "NVThuTienCoc": "sample string 47",
  "DiachighiHD": "sample string 48",
  "Lydo": "sample string 49",
  "IDDatHang": 50,
  "SoCTPhongToa": "sample string 51",
  "MauSoHD": "sample string 52",
  "SoLenhDieuDong": "sample string 53",
  "VeViec": "sample string 54",
  "KhoNhap": "sample string 55",
  "BHTN": "sample string 56"
}