DDSBMA Data Exchange System:ระบบเผยแพร่ แลกเปลี่ยนข้อมูลกลางสำนักการระบายน้ำ กทม.
Click here for a complete list of operations.
GetReservoir
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/GetReservoir"
<?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>
<GetReservoir 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>
<GetReservoirResponse xmlns="http://tempuri.org/">
<GetReservoirResult>
<date>string</date>
<data>
<Datum>
<region>string</region>
<reservoir xsi:nil="true" />
<dam xsi:nil="true" />
</Datum>
<Datum>
<region>string</region>
<reservoir xsi:nil="true" />
<dam xsi:nil="true" />
</Datum>
</data>
</GetReservoirResult>
</GetReservoirResponse>
</soap:Body>
</soap:Envelope>