API

LocationBox API

Indoor POI List

IndoorPoiList Service provides a POI list of the venue.

A IndoorPoiList request must look like this:

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=IndoorPoiList&Typ=output_format&VenueId=venueId&FloorLevel=floorlevel&Category=category


Request Parameters


Key: LocationBox user key. (Register for user key)
Cmd: LocationBox service name. (IndoorPoiList)
Typ: Response format. (XML or JSON)
VenueId: Id for vanue.
FloorLevel (optional): Return sort results by id of venue entered.
Category (optional): Return sort results by category entered.

Response Parameters


XML Response

IndoorPoiList response returns in XML format when the Typ parameter is set as "XML".

Below is an example for a IndoorPoiList which is expected to return a response in XML format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=IndoorPoiList&Typ=XML&VenueId=32772327&FloorLevel=1

The response will be as following:

<response>
 <transactionid>LBS_82225</transactionid>
 <status>0</status>
 <errno/>
 <errdesc/>
 <indoorpoilist>
  <indoorpoi>
   <id>34200345606</id>
   <name>Ortopedia-Kozzy AVM</name>
   <venuename>Kozzy AVM</venuename>
   <floorlevel>1</floorlevel>
   <floorname>1. Kat</floorname>
   <brandid>0</brandid>
   <brandname>
   <subtype>474</subtype>
   <phone>0</phone>
   <url>
   <logoname>_logo.png</logoname>
   <centerlatitude>40.96946</centerlatitude>
   <centerlongitude>29.09172</centerlongitude>
   <entrancelatitude>40.96946</entrancelatitude>
   <entrancelongitude>29.09172</entrancelongitude>
   <distance>0</distance>
  </indoorpoi>
  <indoorpoi>
   <id>34200164769</id>
   <name>Mado-Kozzy AVM</name>
   <venuename>Kozzy AVM</venuename>
   <floorlevel>1</floorlevel>
   <floorname>1. Kat</floorname>
   <brandid>337</brandid>
   <brandname>MADO</brandname>
   <subtype>204</subtype>
   <phone>6580295</phone>
   <url>http://www.mado.com.tr</url>
   <logoname>MADO_logo.png</logoname>
   <centerlatitude>40.96918</centerlatitude>
   <centerlongitude>29.09168</centerlongitude>
   <entrancelatitude>40.96918</entrancelatitude>
   <entrancelongitude>29.09168</entrancelongitude>
   <distance>0</distance>
  </indoorpoi>
 </indoorpoilist>
</response>

JSON Response

IndoorPoiList response returns in JSON format when the Typ parameter is set as "JSON".

Below is an example for a IndoorVenueList request which is expected to return a response in JSON format.

http://www.locationbox.com.tr/locationbox/services?Key=key&Cmd=IndoorPoiList&Typ=JSON&VenueId=32772327&FloorLevel=1

The response will be as following:

{ "transactionid": "LBS_82327", "status": 0, "indoorpoilist": [{ "id": 34200345606, "name": "Ortopedia-Kozzy AVM", "venuename": "Kozzy AVM", "floorlevel": 1, "floorname": "1. Kat", "brandid": 0, "brandname": "", "subtype": 474, "phone": "0", "url": "", "logoname": "_logo.png", "centerlatitude": 40.96946, "centerlongitude": 29.09172, "latitude": 40.96946, "longitude": 29.09172, "distance": 0 }, { "id": 34200164769, "name": "Mado-Kozzy AVM", "venuename": "Kozzy AVM", "floorlevel": 1, "floorname": "1.Kat;", "brandid": 337, "brandname": "MADO", "subtype": 204, "phone": "6580295", "url": "http://www.mado.com.tr", "logoname": "MADO_logo.png", "centerlatitude": 40.96918, "centerlongitude": 29.09168, "latitude": 40.96918, "longitude": 29.09168, "distance": 0 }] }

transactionid: The id of response given by LocationBox Service. Every response can be tracked using transactionid when necessary.
status: Response format. (XML or JSON)

Status Codes
0 -- Success
1 -- Fail

errno: Error code
errdesc: Error definition

Error Codes
10001 Error processing your request. Please try again soon.
Cmd parameter is misspelled/not found.
10011 Error processing your request. Please check the Cmd parameter.
Cmd is not specified.
10012 Error processing your request. Please check the Key parameter.
Key is not specified.
10013 Error processing your request. Please check the Key parameter.
Key is invalid.
20012 No data found.

IndoorVenueList
name: The address text to be geocoded.
latitude: The latitude value of the point found.
longitude: The longitude value of the point found.
minlatitude: The minlatitude value of the point found.
minlongitude: The minlongitude value of the point found.
maxlatitude: The maxlatitude value of the point found.
maxlongitude: The maxlongitude value of the point found.
floors: The number of the venue's floor number.
entrances: This value indicates that it is on which floor the entrance.