EMS : Appendix 8 - v1 JSON to v2 JSON Operations

[ Whereis® API Home ] [ Appendices ]

The table below shows the changes to operations between v1 JSON and v2 JSON:

v1 JSON

V2 JSON

Details

GET /service/description

GET /service/description

No change

/service/geocode/reverse

/service/geocode/reverse

Small change to request body

/service/geocode/unstructured

/service/geocode/unstructured

Change to request body. Compatible response body.

/service/geocode/structured

/service/geocode/structured

Similar request body. Compatible response body

/service/locality

n/a

No longer supported. Replace with autosuggest endpoint (/service/search/suggest), with granularity set to SUBURB

/service/detail/suburb

/service/detail/suburb

No change

/service/detail/postcode

/service/detail/postcode

No change

/service/detail/region

/service/detail/region

No change

/service/detail/state

/service/detail/region

No change

/service/point/rank

/service/rank

Changes required to request and response body

/service/map

/service/map

Layer needs to be specified in request (no default). No change to response

/service/map/by_bounds

/service/map/by_bounds

No change

/service/map/by_radius

/service/map/by_radius

Spelling of “center” to “centre”

/service/map/by_center

/service/map/by_zoom

Spelling of “center” to “centre”