Poi categories

Each Point of Interest can belong to a unique category. More details here.
The POI category object
id integer
POI category identifier
name_en string
The name of the category in English
name_es string
The name of the category in Spanish
code string
POI category code
icon_url string
POI image url
selected_icon_url string
POI selected image url
created_at datetime
Time when the POI category was created
updated_at datetime
Last time when the POI category was updated
public boolean
POI categories can be public or private. This can be either true or false
Example Response
{
  "id": 1,
  "name_en": "Coffee",
  "name_es": "Cafetería",
  "code": "situm-coffee",
  "icon_url": "/uploads/situm/poi_category/icon/1/31cc9fdf-6820-447d-ac13-a0a4d0642d3b.png",
  "selected_icon_url": "/uploads/situm/poi_category/selected_icon/1/eb7c6c7e-33ba-40c5-ae22-e993b64d1439.png",
  "updated_at": "2016-07-11T10:20:39.684+02:00",
  "created_at": "2016-06-23T09:14:05.701+02:00",
  "public": true
}

List of all POI categories

Each Point of Interest can have a category (e.g. "toilet", "shop", etc.). Each category has an unique identifier, a name in english, a name in spanish and an icon. The platform provides a set of categories by default, but the user can also define its own categories.
Parameters
X-API-EMAIL required
The email of the user
X-API-KEY required
The API key of the user
Returns
Returns an array of POI category objects.
Error Status Codes
Request url
https://dashboard.situm.es/api/v1/poi_categories
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/poi_categories"
Response body
[
  {
    "id": 1,
    "name_en": "Coffee",
    "name_es": "Cafetería",
    "code": "situm-coffee",
    "icon_url": "/uploads/situm/poi_category/icon/1/31cc9fdf-6820-447d-ac13-a0a4d0642d3b.png",
    "selected_icon_url": "/uploads/situm/poi_category/selected_icon/1/eb7c6c7e-33ba-40c5-ae22-e993b64d1439.png",
    "updated_at": "2016-07-11T10:20:39.684+02:00",
    "created_at": "2016-06-23T09:14:05.701+02:00",
    "public": true
  },
  {
    "id": 2,
    "name_en": "Elevator",
    "name_es": "Ascensor",
    "code": "situm-elevator",
    "icon_url": "/uploads/situm/poi_category/icon/2/d8db6692-69a3-4845-bdac-4cc1fb1dc64b.png",
    "selected_icon_url": "/uploads/situm/poi_category/selected_icon/2/89806765-5fb2-4c84-b504-b6b3878c812b.png",
    "updated_at": "2016-07-11T10:20:45.258+02:00",
    "created_at": "2016-06-23T09:14:05.750+02:00",
    "public": true
  },
  {
    "id": 3,
    "name_en": "Entrance",
    "name_es": "Acceso",
    "code": "situm-entrance",
    "icon_url": "/uploads/situm/poi_category/icon/3/4bd6f125-22fc-4d4e-ba2e-3228e44b3d62.png",
    "selected_icon_url": "/uploads/situm/poi_category/selected_icon/3/84ab62c5-86df-4d02-9391-bf41ef4fe670.png",
    "updated_at": "2016-07-11T10:20:49.950+02:00",
    "created_at": "2016-06-23T09:14:05.882+02:00",
    "public": true
  },
  {
    "id": 4,
    "name_en": "Information",
    "name_es": "Información",
    "code": "situm-info",
    "icon_url": "/uploads/situm/poi_category/icon/4/e53801f1-9574-4dd5-a33c-cb609ac0e453.png",
    "selected_icon_url": "/uploads/situm/poi_category/selected_icon/4/44aaa31c-d3fd-40de-9646-54270cce7141.png",
    "updated_at": "2016-07-11T10:20:54.295+02:00",
    "created_at": "2016-06-23T09:14:05.901+02:00",
    "public": true
  },
  {
    "id": 5,
    "name_en": "Parking",
    "name_es": "Aparcamiento",
    "code": "situm-parking",
    "icon_url": "/uploads/situm/poi_category/icon/5/bf8a8af3-83c0-450d-867a-2051ade2eea2.png",
    "selected_icon_url": "/uploads/situm/poi_category/selected_icon/5/d16bf17a-24d5-497f-a56b-5d994a960bdd.png",
    "updated_at": "2016-07-11T10:20:58.920+02:00",
    "created_at": "2016-06-23T09:14:05.914+02:00",
    "public": true
  }
]