APIEINVOICE_CA2


Click here for a complete list of operations.

SuaHD

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
idHD:
NgayHD:
LoaiTien:
TyGia:
LenhDDNB:
TennguoiVC:
PhuongtienVC:
HDSo:
Noixuathang:
HDKTSo:
HDKTNgay:
HVTNXHang:
MakhachNMH:
HVTNNHang:
MasothueNMH:
TenNMH:
DonviNMH:
DiachiNMH:
SotaikhoanNMH:
NganhangNMH:
EmailNMH:
DienthoaiNMH:
HinhthucTT:
MaDL:
TenDL:
HTHDBTThe:
TDLHDBTThe:
KHMSHDBTThe:
KHHDBTThe:
SoHDBTThe:
GChuHDBTThe:
dshanghoa:
dschuoiphihd:
kieu:
kieudieuchinh:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /APIEINVOICE_CA2.asmx HTTP/1.1
Host: apitichhop78ca2.nacencomm.vn
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SuaHD"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <AuthHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <SuaHD xmlns="http://tempuri.org/">
      <idHD>int</idHD>
      <NgayHD>string</NgayHD>
      <LoaiTien>string</LoaiTien>
      <TyGia>string</TyGia>
      <LenhDDNB>string</LenhDDNB>
      <TennguoiVC>string</TennguoiVC>
      <PhuongtienVC>string</PhuongtienVC>
      <HDSo>string</HDSo>
      <Noixuathang>string</Noixuathang>
      <HDKTSo>string</HDKTSo>
      <HDKTNgay>string</HDKTNgay>
      <HVTNXHang>string</HVTNXHang>
      <MakhachNMH>string</MakhachNMH>
      <HVTNNHang>string</HVTNNHang>
      <MasothueNMH>string</MasothueNMH>
      <TenNMH>string</TenNMH>
      <DonviNMH>string</DonviNMH>
      <DiachiNMH>string</DiachiNMH>
      <SotaikhoanNMH>string</SotaikhoanNMH>
      <NganhangNMH>string</NganhangNMH>
      <EmailNMH>string</EmailNMH>
      <DienthoaiNMH>string</DienthoaiNMH>
      <HinhthucTT>string</HinhthucTT>
      <MaDL>string</MaDL>
      <TenDL>string</TenDL>
      <HTHDBTThe>string</HTHDBTThe>
      <TDLHDBTThe>string</TDLHDBTThe>
      <KHMSHDBTThe>string</KHMSHDBTThe>
      <KHHDBTThe>string</KHHDBTThe>
      <SoHDBTThe>string</SoHDBTThe>
      <GChuHDBTThe>string</GChuHDBTThe>
      <dshanghoa>string</dshanghoa>
      <dschuoiphihd>string</dschuoiphihd>
      <kieu>int</kieu>
      <kieudieuchinh>int</kieudieuchinh>
    </SuaHD>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SuaHDResponse xmlns="http://tempuri.org/">
      <SuaHDResult>int</SuaHDResult>
    </SuaHDResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /APIEINVOICE_CA2.asmx HTTP/1.1
Host: apitichhop78ca2.nacencomm.vn
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <AuthHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <SuaHD xmlns="http://tempuri.org/">
      <idHD>int</idHD>
      <NgayHD>string</NgayHD>
      <LoaiTien>string</LoaiTien>
      <TyGia>string</TyGia>
      <LenhDDNB>string</LenhDDNB>
      <TennguoiVC>string</TennguoiVC>
      <PhuongtienVC>string</PhuongtienVC>
      <HDSo>string</HDSo>
      <Noixuathang>string</Noixuathang>
      <HDKTSo>string</HDKTSo>
      <HDKTNgay>string</HDKTNgay>
      <HVTNXHang>string</HVTNXHang>
      <MakhachNMH>string</MakhachNMH>
      <HVTNNHang>string</HVTNNHang>
      <MasothueNMH>string</MasothueNMH>
      <TenNMH>string</TenNMH>
      <DonviNMH>string</DonviNMH>
      <DiachiNMH>string</DiachiNMH>
      <SotaikhoanNMH>string</SotaikhoanNMH>
      <NganhangNMH>string</NganhangNMH>
      <EmailNMH>string</EmailNMH>
      <DienthoaiNMH>string</DienthoaiNMH>
      <HinhthucTT>string</HinhthucTT>
      <MaDL>string</MaDL>
      <TenDL>string</TenDL>
      <HTHDBTThe>string</HTHDBTThe>
      <TDLHDBTThe>string</TDLHDBTThe>
      <KHMSHDBTThe>string</KHMSHDBTThe>
      <KHHDBTThe>string</KHHDBTThe>
      <SoHDBTThe>string</SoHDBTThe>
      <GChuHDBTThe>string</GChuHDBTThe>
      <dshanghoa>string</dshanghoa>
      <dschuoiphihd>string</dschuoiphihd>
      <kieu>int</kieu>
      <kieudieuchinh>int</kieudieuchinh>
    </SuaHD>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SuaHDResponse xmlns="http://tempuri.org/">
      <SuaHDResult>int</SuaHDResult>
    </SuaHDResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /APIEINVOICE_CA2.asmx/SuaHD?idHD=string&NgayHD=string&LoaiTien=string&TyGia=string&LenhDDNB=string&TennguoiVC=string&PhuongtienVC=string&HDSo=string&Noixuathang=string&HDKTSo=string&HDKTNgay=string&HVTNXHang=string&MakhachNMH=string&HVTNNHang=string&MasothueNMH=string&TenNMH=string&DonviNMH=string&DiachiNMH=string&SotaikhoanNMH=string&NganhangNMH=string&EmailNMH=string&DienthoaiNMH=string&HinhthucTT=string&MaDL=string&TenDL=string&HTHDBTThe=string&TDLHDBTThe=string&KHMSHDBTThe=string&KHHDBTThe=string&SoHDBTThe=string&GChuHDBTThe=string&dshanghoa=string&dschuoiphihd=string&kieu=string&kieudieuchinh=string HTTP/1.1
Host: apitichhop78ca2.nacencomm.vn
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<int xmlns="http://tempuri.org/">int</int>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /APIEINVOICE_CA2.asmx/SuaHD HTTP/1.1
Host: apitichhop78ca2.nacencomm.vn
Content-Type: application/x-www-form-urlencoded
Content-Length: length

idHD=string&NgayHD=string&LoaiTien=string&TyGia=string&LenhDDNB=string&TennguoiVC=string&PhuongtienVC=string&HDSo=string&Noixuathang=string&HDKTSo=string&HDKTNgay=string&HVTNXHang=string&MakhachNMH=string&HVTNNHang=string&MasothueNMH=string&TenNMH=string&DonviNMH=string&DiachiNMH=string&SotaikhoanNMH=string&NganhangNMH=string&EmailNMH=string&DienthoaiNMH=string&HinhthucTT=string&MaDL=string&TenDL=string&HTHDBTThe=string&TDLHDBTThe=string&KHMSHDBTThe=string&KHHDBTThe=string&SoHDBTThe=string&GChuHDBTThe=string&dshanghoa=string&dschuoiphihd=string&kieu=string&kieudieuchinh=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<int xmlns="http://tempuri.org/">int</int>