- Description:
- Searched with a text “Bangalore” with findAddressCandidates api.
- City is empty.
- Searched with Postal “Bangalore” with findAddressCandidates multiline api.
- City and state are empty.
- ESRI Call:
http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?SingleLine=Bangalore&langCode=EN&maxLocations=1&forStorage=false&outFields=City,Region,Country,Postal&f=pjson
Response:
"candidates": [ { "address": "Bangalore, Karnātaka, India", "location": { "x": 77.593686440000511, "y": 12.971936200000471 }, "score": 100, "attributes": { "City": "", "Region": "Karnātaka", "Country": "IND", "Postal": "" } } ]
http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?Address=&Postal=560037&langCode=EN&maxLocations=10&forStorage=false&outFields=City,Region,Country,Postal&f=pjson
Response:
" candidates": [ { "address": "560037", "location": { "x": 77.6929203250005, "y": 12.96380000600044 }, "score": 100, "attributes": { "City": "", "Region": "", "Country": "IND", "Postal": "560037" } } ]