WebService


Click here for a complete list of operations.

DongBoHopDong

Đồng bộ hợp đồng gia công.

Test

The test form is only available for requests from the local machine.

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 /WebService.asmx HTTP/1.1
Host: invoice.dbg.com.vn
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://Thaison.vn/SamsungWebservice/DongBoHopDong"

<?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>
    <DongBoHopDong xmlns="http://Thaison.vn/SamsungWebservice">
      <objHDGC>
        <DaiLy>
          <MaDaiLy>string</MaDaiLy>
          <MST_DaiLy>string</MST_DaiLy>
          <MA_DV>string</MA_DV>
          <USERNAME>string</USERNAME>
          <GUIID>string</GUIID>
          <PASSWORD>string</PASSWORD>
          <TenDaiLy>string</TenDaiLy>
          <DiaChi>string</DiaChi>
          <SoDienThoai>string</SoDienThoai>
          <Email>string</Email>
          <LoaiDaiLy>int</LoaiDaiLy>
          <IP_Address>string</IP_Address>
          <MAC_Address>string</MAC_Address>
          <HostName>string</HostName>
          <SEV>string</SEV>
          <TRANGTHAI_SEV>string</TRANGTHAI_SEV>
          <SEVT>string</SEVT>
          <TRANGTHAI_SEVT>string</TRANGTHAI_SEVT>
          <SAVINA>string</SAVINA>
          <TRANGTHAI_SAVINA>string</TRANGTHAI_SAVINA>
        </DaiLy>
        <XMLHDGC>string</XMLHDGC>
        <XMLLOAISP_HD>string</XMLLOAISP_HD>
        <XMLSP_HD>string</XMLSP_HD>
        <XMLNPL_HD>string</XMLNPL_HD>
        <XMLHM_HD>string</XMLHM_HD>
        <XMLTB_HD>string</XMLTB_HD>
      </objHDGC>
    </DongBoHopDong>
  </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>
    <DongBoHopDongResponse xmlns="http://Thaison.vn/SamsungWebservice">
      <DongBoHopDongResult>
        <Status>boolean</Status>
        <MessageHeader>string</MessageHeader>
        <MessageDetail>string</MessageDetail>
        <TypeResult>int</TypeResult>
        <ResultText>string</ResultText>
        <ResultMST>string</ResultMST>
        <ResultXML>string</ResultXML>
        <ResultDataSet>
          <xsd:schema>schema</xsd:schema>xml</ResultDataSet>
      </DongBoHopDongResult>
    </DongBoHopDongResponse>
  </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 /WebService.asmx HTTP/1.1
Host: invoice.dbg.com.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>
    <DongBoHopDong xmlns="http://Thaison.vn/SamsungWebservice">
      <objHDGC>
        <DaiLy>
          <MaDaiLy>string</MaDaiLy>
          <MST_DaiLy>string</MST_DaiLy>
          <MA_DV>string</MA_DV>
          <USERNAME>string</USERNAME>
          <GUIID>string</GUIID>
          <PASSWORD>string</PASSWORD>
          <TenDaiLy>string</TenDaiLy>
          <DiaChi>string</DiaChi>
          <SoDienThoai>string</SoDienThoai>
          <Email>string</Email>
          <LoaiDaiLy>int</LoaiDaiLy>
          <IP_Address>string</IP_Address>
          <MAC_Address>string</MAC_Address>
          <HostName>string</HostName>
          <SEV>string</SEV>
          <TRANGTHAI_SEV>string</TRANGTHAI_SEV>
          <SEVT>string</SEVT>
          <TRANGTHAI_SEVT>string</TRANGTHAI_SEVT>
          <SAVINA>string</SAVINA>
          <TRANGTHAI_SAVINA>string</TRANGTHAI_SAVINA>
        </DaiLy>
        <XMLHDGC>string</XMLHDGC>
        <XMLLOAISP_HD>string</XMLLOAISP_HD>
        <XMLSP_HD>string</XMLSP_HD>
        <XMLNPL_HD>string</XMLNPL_HD>
        <XMLHM_HD>string</XMLHM_HD>
        <XMLTB_HD>string</XMLTB_HD>
      </objHDGC>
    </DongBoHopDong>
  </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>
    <DongBoHopDongResponse xmlns="http://Thaison.vn/SamsungWebservice">
      <DongBoHopDongResult>
        <Status>boolean</Status>
        <MessageHeader>string</MessageHeader>
        <MessageDetail>string</MessageDetail>
        <TypeResult>int</TypeResult>
        <ResultText>string</ResultText>
        <ResultMST>string</ResultMST>
        <ResultXML>string</ResultXML>
        <ResultDataSet>
          <xsd:schema>schema</xsd:schema>xml</ResultDataSet>
      </DongBoHopDongResult>
    </DongBoHopDongResponse>
  </soap12:Body>
</soap12:Envelope>