▪ POI Industry
POI Industry API returns a list of all recorded POI industries.
A POI Industry is the highest level of classification of a POI.
Request
Endpoint
GET
/v4/{billing_plan}/account/{account_id}/dictionary/poi_industry
Path Parameters
Name | Description | Type | Examples |
---|---|---|---|
*{billing_plan} | Billing plan to be applied to the call. | string | licence ondemand |
*{account_id} | Provided identifier of the account. | string |
Header Parameters
Name | Description | Type | Examples | Default |
---|---|---|---|---|
*x-api-key | Provided API key {x_api_key} that allows authentication. |
string | ||
*Authorization | Provided token {jwt_bearer} that allows authorization. |
string | Bearer {jwt_bearer} |
|
Accept-Language | Translate the requested dictionary entries in a language specified in in ISO_639-1 standard format. | string | it fr |
en |
Query Parameters
Name | Description | Type | Examples | Default |
---|---|---|---|---|
page | Requested page number for paginated results. | int | 1 | |
page_size | Requested page size for paginated results in the range [1, 100]. | int | 25 |
Example
curl -X GET 'https://api.datappeal.io/v4/{billing_plan}/account/{account_id}/dictionary/poi_industry' \
-H 'x-api-key: {x_api_key}' \
-H 'Authorization: Bearer {jwt_bearer}' \
Response
Status
Status | Description |
---|---|
200 | POI Industry data has been successfully returned. |
Body
POIIndustries
Field | Description | Type |
---|---|---|
*results | Paginated list of POI industries. | array[DictionaryEntry] |
paging | Response pagination. | Paging |
DictionaryEntry
Field | Description | Type | Examples |
---|---|---|---|
*id | Descriptive identifier of the entry. | string | accessibility family accounting apartments agriculture |
*name | Full name of the entry. | string | Accessibility Families Accounting Apartments Agriculture |
*assets | Set of images related to the entry. | Assets |
Assets
Field | Description | Type | Examples |
---|---|---|---|
*icon | Icon corresponding to the parent entry. | Icon |
Icon
Field | Description | Type | Examples |
---|---|---|---|
*material_io | Material Icon identifier. | string | loyalty favorite storefront house agriculture |
Paging
Field | Description | Type |
---|---|---|
last | A relative URI to the last page. | string |
first | A relative URI to the first page. | string |
prev | A relative URI to the previous page. | string |
next | A relative URI to the next page. | string |
current | A relative URI to the current page. | string |
pages | A set of relative URIs calculated around the current page. | Page |
elements | All indexes shown on the current page. | array[int] |
total | The number of all elements that API can retrieve. | int |
size | The selected page size. | int |
Page
Field | Description | Type |
---|---|---|
number | Number of the page. | int |
uri | URI of the page. | string |
Example
{
"results": [
{
"id": "agriculture",
"name": "Agriculture",
"assets": {
"icon": {
"material_io": "agriculture"
}
}
},
{
"id": "attractions",
"name": "Attractions",
"assets": {
"icon": {
"material_io": "account_balance"
}
}
},
{
"id": "banking",
"name": "Banking & Insurance",
"assets": {
"icon": {
"material_io": "account_balance"
}
}
},
{
"id": "education",
"name": "Education",
"assets": {
"icon": {
"material_io": "school"
}
}
},
{
"id": "food_and_beverage",
"name": "Food & Beverage",
"assets": {
"icon": {
"material_io": "restaurant"
}
}
},
{
"id": "freelance_office",
"name": "Freelance",
"assets": {
"icon": {
"material_io": "work"
}
}
},
{
"id": "government",
"name": "Government",
"assets": {
"icon": {
"material_io": "admin_panel_settings"
}
}
},
{
"id": "health_care",
"name": "Healthcare",
"assets": {
"icon": {
"material_io": "local_hospital"
}
}
},
{
"id": "hospitality",
"name": "Hospitality",
"assets": {
"icon": {
"material_io": "business"
}
}
},
{
"id": "industrial",
"name": "Industrial",
"assets": {
"icon": {
"material_io": "corporate_fare"
}
}
},
{
"id": "mobility",
"name": "Transportation",
"assets": {
"icon": {
"material_io": "commute"
}
}
},
{
"id": "others",
"name": "Other",
"assets": {
"icon": {
"material_io": "read_more"
}
}
},
{
"id": "personal_care",
"name": "Personal care",
"assets": {
"icon": {
"material_io": "face"
}
}
},
{
"id": "real_estate",
"name": "Real estate",
"assets": {
"icon": {
"material_io": "location_city"
}
}
},
{
"id": "retail",
"name": "Retail",
"assets": {
"icon": {
"material_io": "storefront"
}
}
},
{
"id": "short_term_rentals",
"name": "Short Term Rentals",
"assets": {
"icon": {
"material_io": "home_work"
}
}
},
{
"id": "sport",
"name": "Sports",
"assets": {
"icon": {
"material_io": "sports"
}
}
},
{
"id": "utilities",
"name": "Utilities",
"assets": {
"icon": {
"material_io": "view_in_ar"
}
}
}
],
"paging": {
"last": "/dictionary/industry?page=1&page_size=25",
"first": "/dictionary/industry?page=1&page_size=25",
"prev": null,
"next": null,
"current": "/dictionary/industry?page=1&page_size=25",
"pages": [
{
"number": 1,
"uri": "/dictionary/industry?page=1&page_size=25"
}
],
"elements": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18
],
"total": 18,
"size": 25
}
}