YiLanStatistic


按一下這裡以取得完整的作業清單。

XmlPublicSafeTown

提供宜蘭縣治安統計_鄉鎮WebService服務
輸出格式:XML
輸入參數一:西元年,例如:2013
輸入參數二:月份,例如:1

測試

若要以 HTTP POST 通訊協定測試作業,請按一下 [叫用] 按鈕。
參數
yy:
mm:

SOAP 1.1

下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。

POST /YiLanStatistic.asmx HTTP/1.1
Host: statistics.e-land.gov.tw
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/XmlPublicSafeTown"

<?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>
    <XmlPublicSafeTown xmlns="http://tempuri.org/">
      <yy>int</yy>
      <mm>int</mm>
    </XmlPublicSafeTown>
  </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>
    <XmlPublicSafeTownResponse xmlns="http://tempuri.org/">
      <XmlPublicSafeTownResult>
        <Police_Town_Mix1>
          <STATUS>string</STATUS>
          <PTown>
            <Police_County xsi:nil="true" />
            <Police_County xsi:nil="true" />
          </PTown>
        </Police_Town_Mix1>
        <Police_Town_Mix1>
          <STATUS>string</STATUS>
          <PTown>
            <Police_County xsi:nil="true" />
            <Police_County xsi:nil="true" />
          </PTown>
        </Police_Town_Mix1>
      </XmlPublicSafeTownResult>
    </XmlPublicSafeTownResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。

POST /YiLanStatistic.asmx HTTP/1.1
Host: statistics.e-land.gov.tw
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>
    <XmlPublicSafeTown xmlns="http://tempuri.org/">
      <yy>int</yy>
      <mm>int</mm>
    </XmlPublicSafeTown>
  </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>
    <XmlPublicSafeTownResponse xmlns="http://tempuri.org/">
      <XmlPublicSafeTownResult>
        <Police_Town_Mix1>
          <STATUS>string</STATUS>
          <PTown>
            <Police_County xsi:nil="true" />
            <Police_County xsi:nil="true" />
          </PTown>
        </Police_Town_Mix1>
        <Police_Town_Mix1>
          <STATUS>string</STATUS>
          <PTown>
            <Police_County xsi:nil="true" />
            <Police_County xsi:nil="true" />
          </PTown>
        </Police_Town_Mix1>
      </XmlPublicSafeTownResult>
    </XmlPublicSafeTownResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

下列是 HTTP GET 要求與回應的範例。預留位置顯示之處必須代入實際的值。

GET /YiLanStatistic.asmx/XmlPublicSafeTown?yy=string&mm=string HTTP/1.1
Host: statistics.e-land.gov.tw
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPolice_Town_Mix1 xmlns="http://tempuri.org/">
  <Police_Town_Mix1>
    <STATUS>string</STATUS>
    <PTown>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
    </PTown>
  </Police_Town_Mix1>
  <Police_Town_Mix1>
    <STATUS>string</STATUS>
    <PTown>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
    </PTown>
  </Police_Town_Mix1>
</ArrayOfPolice_Town_Mix1>

HTTP POST

下列是 HTTP POST 要求與回應的範例。預留位置顯示之處必須代入實際的值。

POST /YiLanStatistic.asmx/XmlPublicSafeTown HTTP/1.1
Host: statistics.e-land.gov.tw
Content-Type: application/x-www-form-urlencoded
Content-Length: length

yy=string&mm=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPolice_Town_Mix1 xmlns="http://tempuri.org/">
  <Police_Town_Mix1>
    <STATUS>string</STATUS>
    <PTown>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
    </PTown>
  </Police_Town_Mix1>
  <Police_Town_Mix1>
    <STATUS>string</STATUS>
    <PTown>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
      <Police_County>
        <COUNTY_ID>string</COUNTY_ID>
        <COUNTY>string</COUNTY>
        <TOWN_ID>string</TOWN_ID>
        <TOWN>string</TOWN>
        <TOTAL>string</TOTAL>
        <A010>string</A010>
        <A020>string</A020>
        <A030>string</A030>
        <A040>string</A040>
        <A051>string</A051>
        <A053>string</A053>
        <A054>string</A054>
        <B001>string</B001>
        <B002>string</B002>
        <B003>string</B003>
        <C000>string</C000>
        <D000>string</D000>
        <E000>string</E000>
        <F001>string</F001>
        <F003>string</F003>
      </Police_County>
    </PTown>
  </Police_Town_Mix1>
</ArrayOfPolice_Town_Mix1>