Locations Search

Allows you to retrieve translated locations by tenant, language and name. Name of the locations will be translated using :language param

Parameters

     /:tenant_name/:language/search/:name                                    tenant name, language, name

Example request

     http://acc.resfinity.com/resfinity_locations/anixe/de/search/wroc      returns all locations matched to 'wroc'

Response

[
   {
      "id":"4e1595cf0374aa6a12000a98",
      "name":"Breslau Copernicus Flughafen",
      "radius":0.0418,
      "geo":[
         51.10282,
         16.89199
      ],
      "tlc":"WRO",
      "ctlc":"WRO",
      "country_code":"PL",
      "type":[
         "airport"
      ]
   },
   {
      "id":"4e1595cf0374aa6a12000a97",
      "name":"Breslau",
      "radius":0.3336,
      "geo":[
         51.1102,
         17.03207
      ],
      "tlc":"WRO",
      "ctlc":"WRO",
      "country_code":"PL",
      "type":[
         "locality",
         "political"
      ]
   }
]

Products/ResfinityLocationsWebservice/LocationsSearch (last edited 2013-04-06 03:42:44 by MikolajKochanski)

UA-140066296-2