GET | /Location/Suburb/Lookup |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Suburb | query | string | No | |
State | query | string | No | |
Country | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PostCodeAllID | form | int | No | |
StateID | form | int | No | |
CountryID | form | int | No | |
Suburb | form | string | No | |
PostCode | form | string | No | |
Display | form | bool | No | |
MapzenGID | form | string | No | |
MapzenLabel | form | string | No | |
GoogleMapPlacesId | form | string | No | |
Latitude | form | double | No | |
Longitude | form | double | No | |
Hide | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Location/Suburb/Lookup HTTP/1.1 Host: tstsrvs.redhotpie.com.au Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { PostCodeAllID: 0, StateID: 0, CountryID: 0, Suburb: String, PostCode: String, Display: False, MapzenGID: String, MapzenLabel: String, GoogleMapPlacesId: String, Latitude: 0, Longitude: 0, Hide: False }