service


Click here for a complete list of operations.

SuaChungTu

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
machungtu:
madonvi:
mau_so:
kyhieu:
ngaylap:
mstnguoint:
tennnt:
diachi:
dienthoai:
email:
cccd:
tuthang:
denthang:
nam:
quoctich:
khoanthunhap:
canhancutru:
tongthunhapchiuthue:
tongthunhaptinhthue:
thuetncn:
baohiem:
tthien:

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 /service.asmx HTTP/1.1
Host: api-uat.mmhoadon.vn
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SuaChungTu"

<?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>
    <SuaChungTu xmlns="http://tempuri.org/">
      <machungtu>string</machungtu>
      <madonvi>string</madonvi>
      <mau_so>string</mau_so>
      <kyhieu>string</kyhieu>
      <ngaylap>string</ngaylap>
      <mstnguoint>string</mstnguoint>
      <tennnt>string</tennnt>
      <diachi>string</diachi>
      <dienthoai>string</dienthoai>
      <email>string</email>
      <cccd>string</cccd>
      <tuthang>string</tuthang>
      <denthang>string</denthang>
      <nam>string</nam>
      <quoctich>string</quoctich>
      <khoanthunhap>string</khoanthunhap>
      <canhancutru>string</canhancutru>
      <tongthunhapchiuthue>string</tongthunhapchiuthue>
      <tongthunhaptinhthue>string</tongthunhaptinhthue>
      <thuetncn>string</thuetncn>
      <baohiem>string</baohiem>
      <tthien>string</tthien>
    </SuaChungTu>
  </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>
    <SuaChungTuResponse xmlns="http://tempuri.org/">
      <SuaChungTuResult>string</SuaChungTuResult>
    </SuaChungTuResponse>
  </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 /service.asmx HTTP/1.1
Host: api-uat.mmhoadon.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:Body>
    <SuaChungTu xmlns="http://tempuri.org/">
      <machungtu>string</machungtu>
      <madonvi>string</madonvi>
      <mau_so>string</mau_so>
      <kyhieu>string</kyhieu>
      <ngaylap>string</ngaylap>
      <mstnguoint>string</mstnguoint>
      <tennnt>string</tennnt>
      <diachi>string</diachi>
      <dienthoai>string</dienthoai>
      <email>string</email>
      <cccd>string</cccd>
      <tuthang>string</tuthang>
      <denthang>string</denthang>
      <nam>string</nam>
      <quoctich>string</quoctich>
      <khoanthunhap>string</khoanthunhap>
      <canhancutru>string</canhancutru>
      <tongthunhapchiuthue>string</tongthunhapchiuthue>
      <tongthunhaptinhthue>string</tongthunhaptinhthue>
      <thuetncn>string</thuetncn>
      <baohiem>string</baohiem>
      <tthien>string</tthien>
    </SuaChungTu>
  </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>
    <SuaChungTuResponse xmlns="http://tempuri.org/">
      <SuaChungTuResult>string</SuaChungTuResult>
    </SuaChungTuResponse>
  </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 /service.asmx/SuaChungTu?machungtu=string&madonvi=string&mau_so=string&kyhieu=string&ngaylap=string&mstnguoint=string&tennnt=string&diachi=string&dienthoai=string&email=string&cccd=string&tuthang=string&denthang=string&nam=string&quoctich=string&khoanthunhap=string&canhancutru=string&tongthunhapchiuthue=string&tongthunhaptinhthue=string&thuetncn=string&baohiem=string&tthien=string HTTP/1.1
Host: api-uat.mmhoadon.vn
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

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

HTTP POST

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

POST /service.asmx/SuaChungTu HTTP/1.1
Host: api-uat.mmhoadon.vn
Content-Type: application/x-www-form-urlencoded
Content-Length: length

machungtu=string&madonvi=string&mau_so=string&kyhieu=string&ngaylap=string&mstnguoint=string&tennnt=string&diachi=string&dienthoai=string&email=string&cccd=string&tuthang=string&denthang=string&nam=string&quoctich=string&khoanthunhap=string&canhancutru=string&tongthunhapchiuthue=string&tongthunhaptinhthue=string&thuetncn=string&baohiem=string&tthien=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

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