Class GeocodesRest


  • @Path("/rest/geocodesclient/api/v{version}")
    public class GeocodesRest
    extends Object
    CityRest
    • Constructor Detail

      • GeocodesRest

        public GeocodesRest()
    • Method Detail

      • getCityListByDate

        @GET
        @Path("/cities")
        @Produces("application/json")
        public javax.ws.rs.core.Response getCityListByDate​(@PathParam("version")
                                                           Integer nVersion,
                                                           @QueryParam("search")
                                                           String strVal,
                                                           @QueryParam("additionalParam")
                                                           String strDateRef)
        Get City List with date
        Parameters:
        nVersion - the API version
        strVal - the search string
        dateRef - the reference date
        Returns:
        the City List
      • getCityByCodeAndDate

        @GET
        @Path("/cities/city")
        @Produces("application/json")
        public javax.ws.rs.core.Response getCityByCodeAndDate​(@PathParam("version")
                                                              Integer nVersion,
                                                              @QueryParam("code")
                                                              String strCode,
                                                              @QueryParam("additionalParam")
                                                              String strDateRef)
        Get City with date
        Parameters:
        nVersion - the API version
        strCode - the search string
        dateRef - the reference date
        Returns:
        the City List
      • getCountryByCodeAndDate

        @GET
        @Path("/countries/country")
        @Produces("application/json")
        public javax.ws.rs.core.Response getCountryByCodeAndDate​(@PathParam("version")
                                                                 Integer nVersion,
                                                                 @QueryParam("code")
                                                                 String strCode,
                                                                 @QueryParam("additionalParam")
                                                                 String strDateRef)
        Get City with date
        Parameters:
        nVersion - the API version
        strCode - the search string
        dateRef - the reference date
        Returns:
        the City List
      • getCountiesListByNameAndDate

        @GET
        @Path("/countries")
        @Produces("application/json")
        public javax.ws.rs.core.Response getCountiesListByNameAndDate​(@PathParam("version")
                                                                      Integer nVersion,
                                                                      @QueryParam("search")
                                                                      String strVal,
                                                                      @QueryParam("additionalParam")
                                                                      String strDateRef)
        Search Countries
        Parameters:
        nVersion - the API version
        search - the searched string
        dateRef - the reference date
        Returns:
        the Countries