@Path(value="/rest/geocodes/api/v{version}/cities")
public class CityRest
extends Object
| Constructor and Description |
|---|
CityRest() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getCity(Integer nVersion,
String code)
Get City
|
javax.ws.rs.core.Response |
getCityList(Integer nVersion,
String strVal)
Get City List
|
@GET
@Path(value="/search/{searched_string}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getCityList(@PathParam(value="version")
Integer nVersion,
@PathParam(value="searched_string")
String strVal)
nVersion - the API versionCopyright © 2023 City of Paris. All rights reserved.