@Path(value="/rest/geocodesclient/api/v{version}")
public class GeocodesRest
extends Object
| Constructor and Description |
|---|
GeocodesRest() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getCityByCodeAndDate(Integer nVersion,
String strCode,
String strDateRef)
Get City with date
|
javax.ws.rs.core.Response |
getCityListByDate(Integer nVersion,
String strVal,
String strDateRef)
Get City List with date
|
javax.ws.rs.core.Response |
getCountiesListByNameAndDate(Integer nVersion,
String strVal,
String strDateRef)
Search Countries
|
javax.ws.rs.core.Response |
getCountryByCodeAndDate(Integer nVersion,
String strCode,
String strDateRef)
Get City with date
|
@GET
@Path(value="/cities")
@Produces(value="application/json")
public javax.ws.rs.core.Response getCityListByDate(@PathParam(value="version")
Integer nVersion,
@QueryParam(value="search")
String strVal,
@QueryParam(value="additionalParam")
String strDateRef)
nVersion - the API versionstrVal - the search stringdateRef - the reference date@GET
@Path(value="/cities/city")
@Produces(value="application/json")
public javax.ws.rs.core.Response getCityByCodeAndDate(@PathParam(value="version")
Integer nVersion,
@QueryParam(value="code")
String strCode,
@QueryParam(value="additionalParam")
String strDateRef)
nVersion - the API versionstrCode - the search stringdateRef - the reference date@GET
@Path(value="/countries/country")
@Produces(value="application/json")
public javax.ws.rs.core.Response getCountryByCodeAndDate(@PathParam(value="version")
Integer nVersion,
@QueryParam(value="code")
String strCode,
@QueryParam(value="additionalParam")
String strDateRef)
nVersion - the API versionstrCode - the search stringdateRef - the reference date@GET
@Path(value="/countries")
@Produces(value="application/json")
public javax.ws.rs.core.Response getCountiesListByNameAndDate(@PathParam(value="version")
Integer nVersion,
@QueryParam(value="search")
String strVal,
@QueryParam(value="additionalParam")
String strDateRef)
nVersion - the API versionsearch - the searched stringdateRef - the reference dateCopyright © 2024 City of Paris. All rights reserved.