APIEINVOICE_CA2
Click here for a complete list of operations.
SuaHD_1510
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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_1510" <?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_1510 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> <MHSo>string</MHSo> <SBKe>string</SBKe> <NBKe>string</NBKe> <HDNTGia>int</HDNTGia> <MSTDVNUNLHDon>string</MSTDVNUNLHDon> <TDVNUNLHDon>string</TDVNUNLHDon> <DCDVNUNLHDon>string</DCDVNUNLHDon> <GCHDCLQuan>string</GCHDCLQuan> <CCCDNMHang>string</CCCDNMHang> <HDKTTMTTien>int</HDKTTMTTien> <TGTKhac>double</TGTKhac> </SuaHD_1510> </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> <SuaHD_1510Response xmlns="http://tempuri.org/"> <SuaHD_1510Result>int</SuaHD_1510Result> </SuaHD_1510Response> </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_1510 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> <MHSo>string</MHSo> <SBKe>string</SBKe> <NBKe>string</NBKe> <HDNTGia>int</HDNTGia> <MSTDVNUNLHDon>string</MSTDVNUNLHDon> <TDVNUNLHDon>string</TDVNUNLHDon> <DCDVNUNLHDon>string</DCDVNUNLHDon> <GCHDCLQuan>string</GCHDCLQuan> <CCCDNMHang>string</CCCDNMHang> <HDKTTMTTien>int</HDKTTMTTien> <TGTKhac>double</TGTKhac> </SuaHD_1510> </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> <SuaHD_1510Response xmlns="http://tempuri.org/"> <SuaHD_1510Result>int</SuaHD_1510Result> </SuaHD_1510Response> </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_1510?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&MHSo=string&SBKe=string&NBKe=string&HDNTGia=string&MSTDVNUNLHDon=string&TDVNUNLHDon=string&DCDVNUNLHDon=string&GCHDCLQuan=string&CCCDNMHang=string&HDKTTMTTien=string&TGTKhac=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_1510 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&MHSo=string&SBKe=string&NBKe=string&HDNTGia=string&MSTDVNUNLHDon=string&TDVNUNLHDon=string&DCDVNUNLHDon=string&GCHDCLQuan=string&CCCDNMHang=string&HDKTTMTTien=string&TGTKhac=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>