DDSBMA Data Exchange System:ระบบเผยแพร่ แลกเปลี่ยนข้อมูลกลางสำนักการระบายน้ำ กทม.


Click here for a complete list of operations.

GetRainInfo

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 /WSS_DDSDXS.asmx HTTP/1.1
Host: p2-doeb-dxg-api.nidpro.tech
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetRainInfo"

<?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>
    <GetRainInfo xmlns="http://tempuri.org/" />
  </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>
    <GetRainInfoResponse xmlns="http://tempuri.org/">
      <RainInfo>
        <Items>
          <item>
            <code>string</code>
            <name>string</name>
            <district>string</district>
            <latitude>string</latitude>
            <longitude>string</longitude>
          </item>
          <item>
            <code>string</code>
            <name>string</name>
            <district>string</district>
            <latitude>string</latitude>
            <longitude>string</longitude>
          </item>
        </Items>
        <error>string</error>
      </RainInfo>
    </GetRainInfoResponse>
  </soap:Body>
</soap:Envelope>