API/Services/GetSuburbsByPostcode

From Emersion
Revision as of 17:14, 10 September 2014 by Jlee (talk) (Created page with "'''Purpose ''' For searching G-NAF data to find suburbs in Australia. '''Inputs''' <soapenv:Header/> <soapenv:Body> <ser:getSuburbByPostcode> <ser:postc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

For searching G-NAF data to find suburbs in Australia.

Inputs

 <soapenv:Header/>
  <soapenv:Body>
     <ser:getSuburbByPostcode>
        <ser:postcode>2452</ser:postcode>
     </ser:getSuburbByPostcode>
  </soapenv:Body>

Output

  <SOAP-ENV:Body>
     <ns1:getSuburbResponse>
        <ns1:SuburbItem>
           <ns1:suburb>TOORMINA</ns1:suburb>
           <ns1:postcode>2452</ns1:postcode>
        </ns1:SuburbItem>
        <ns1:SuburbItem>
           <ns1:suburb>BOAMBEE EAST</ns1:suburb>
           <ns1:postcode>2452</ns1:postcode>
        </ns1:SuburbItem>
     </ns1:getSuburbResponse>
  </SOAP-ENV:Body>

Error String

- Invalid or missing post code