Difference between revisions of "API/Services/GetSuburbsByPostcode"

From Emersion
Jump to: navigation, search
(Created page with "'''Purpose ''' For searching G-NAF data to find suburbs in Australia. '''Inputs''' <soapenv:Header/> <soapenv:Body> <ser:getSuburbByPostcode> <ser:postc...")
 
 
Line 29: Line 29:
 
'''Error String'''
 
'''Error String'''
  
- Invalid or missing post code
+
129. Invalid or missing post code

Latest revision as of 17:14, 10 September 2014

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

129. Invalid or missing post code