Outdoor POIs

A point of interest represents any entity that occupies a certain geographical location. More details here.
The outdoor POI object
id integer
Outdoor POI identifier
building_id integer
Building identifier (retrieve all you buildings to know their identifiers)
floor_id integer
An outdoor POI is not associated with any floor
The default value is null
name string
Outdoor POI name
category_id integer
POIs can be differenciated by categories. More details in POI categories
created_at datetime
Time when the outdoor POI was created
updated_at datetime
Last time when the outdoor POI was updated
info text
Outdoor POI aditional information
location object
Outdoor POI position in geographic coordinates
The location data are represented in WGS84 coordinate system
Child attributes
lat float
Cartography latitude
lng float
Cartography longitude
custom_fields array of objects
List of custom key-value pairs. More details in Custom fields
Custom field attributes
key string
Custom field key
value string
Custom field value
Example Response
{
  "id": 1120,
  "building_id": 98,
  "floor_id": null,
  "name": "Test",
  "category_id": null,
  "created_at": "2016-06-23T09:13:44.273+02:00",
  "updated_at": "2016-06-23T09:13:44.273+02:00",
  "info": "",
  "location": {
    "lat": 43.0121788072902,
    "lng": -8.80588531494141
  },
  "custom_fields": [
    {
      "key": "active",
      "value": "false"
    }
  ]
}

Returns the outdoor POIs of a building

An outdoor POI refers to a Point of Interest that has been placed outside the floorplan of the building. Usually, this may be used to indicate the location of outdoor elements such as taxi stops, parkings, etc.
Parameters
X-API-EMAIL required
The email of the user
X-API-KEY required
The API key of the user
building_id required path param
Building identifier (retrieve all your buildings to know their identifiers)
Returns
Returns an array of outdoor POI objects.
Error Status Codes
Request url
https://dashboard.situm.es/api/v1/buildings/:building_id/exterior_pois
*Deprecated: https://dashboard.situm.es/api/v1/projects/:building_id/exterior_pois (supported until SDK 4.0)
Curl
curl -H 'Content-Type: application/json' -H 'X-API-EMAIL: user@example.com' -H 'X-API-KEY: T9NP2lzk+jSI/Oi5DG6ODk57O0pZXdx4' "https://dashboard.situm.es/api/v1/buildings/:building_id/exterior_pois"
Response body
[
  {
    "id": 1120,
    "building_id": 98,
    "floor_id": null,
    "name": "Exterior POI",
    "category_id": null,
    "created_at": "2016-06-23T09:13:44.273+02:00",
    "updated_at": "2016-06-23T09:13:44.273+02:00",
    "info": "",
    "location": {
      "lat": 43.0121788072902,
      "lng": -8.80588531494141
    },
    "custom_fields": []
  },
  {
    "id": 1120,
    "building_id": 99,
    "floor_id": null,
    "name": "Exterior POI",
    "category_id": null,
    "created_at": "2016-06-23T09:13:44.273+02:00",
    "updated_at": "2016-06-23T09:13:44.273+02:00",
    "info": "",
    "location": {
      "lat": 43.0121788072902,
      "lng": -8.80588531494141
    },
    "custom_fields": []
  }
]