OpenAPI Specification
Endpoint root: https://integration.mapsindoors.com/
The API Key to use
550c26a864617400a40f0000
GET /{apiKey}/api/appUserRoles HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"names": [
{
"language": "text",
"name": "text"
}
]
}
]
The API Key to use
550c26a864617400a40f0000
GET /{apiKey}/api/categories HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"key": "text",
"name": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"icon": "text",
"imageUrl": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
POST /{apiKey}/api/categories HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 60
[
{
"key": "ENTRANCE",
"name": {
"en": "Entrance",
"da": "Indgang"
}
}
]
No content
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
PUT /{apiKey}/api/categories HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 92
[
{
"id": "5823246d07215b23a02e3cdd",
"key": "ENTRANCE",
"name": {
"en": "Entrance",
"da": "Indgang"
}
}
]
No content
Only poi geodata can be deleted for now.
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
DELETE /{apiKey}/api/categories HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 28
[
"db6b07b3f4dd41fba865a5a6"
]
No content
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
GET /api/dataset HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "text",
"name": "text",
"customerId": "text",
"availableLanguages": [
"text"
],
"baseLanguage": "text",
"rootObjects": [
"text"
]
}
]
The API Key to use
550c26a864617400a40f0000
GET /{apiKey}/api/dataset HTTP/1.1
Host:
Accept: */*
{
"id": "text",
"name": "text",
"customerId": "text",
"availableLanguages": [
"text"
],
"baseLanguage": "text",
"rootObjects": [
"text"
]
}
Oauth2 Roles
- Requires user to have one of the following roles: owner, service
The customer ID to use
GET /api/dataset/customer?customerId=text HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
"db6b07b3f4dd41fba865a5a6"
]
The API Key to use
550c26a864617400a40f0000
GET /{apiKey}/api/displaytypes HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"name": "text",
"displayRules": [
{
"name": "text",
"iconUrl": "text",
"iconScale": 1,
"iconSize": {
"width": 1,
"height": 1
},
"iconPlacement": 0,
"labelTemplate": "text",
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"labelZoomFrom": 1,
"labelZoomTo": 1,
"labelMaxWidth": 1,
"iconVisible": true,
"labelVisible": true,
"polygon": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"strokeWidth": 1,
"strokeColor": "text",
"strokeOpacity": 1,
"fillColor": "text",
"fillOpacity": 1,
"lightnessFactor": 1
},
"markerElevation": 1,
"walls": {
"visible": true,
"height": 1,
"color": "text",
"zoomFrom": 1,
"zoomTo": 1,
"lightnessFactor": 1
},
"extrusion": {
"visible": true,
"height": 1,
"color": "text",
"zoomFrom": 1,
"zoomTo": 1,
"lightnessFactor": 1
},
"model3D": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"model": "text",
"rotationX": 1,
"rotationY": 1,
"rotationZ": 1,
"scale": 1
},
"model2D": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"model": "text",
"widthMeters": 1,
"heightMeters": 1,
"bearing": 1
},
"badge": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"radius": 1,
"strokeWidth": 1,
"strokeColor": "text",
"fillColor": "text",
"scale": 1,
"position": 0
},
"labelStyle": {
"textSize": 1,
"textColor": "text",
"textOpacity": 1,
"haloColor": "text",
"haloWidth": 1,
"haloBlur": 1,
"bearing": 1,
"graphic": {
"backgroundImage": "text",
"stretchX": [
[
1
]
],
"stretchY": [
[
1
]
],
"content": [
1
]
},
"labelPosition": 0
},
"labelType": 0
}
],
"propertyTemplates": [
{
"text": "text",
"type": "text",
"defaultValue": [
"text"
]
}
],
"aliases": [
"text"
],
"properties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"restrictions": [
"text"
]
}
]
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
POST /{apiKey}/api/displaytypes HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 268
[
{
"name": "Entrance",
"displayRules": [
{
"name": "default",
"iconUrl": "https://app.mapsindoors.com/mapsindoors/gfx/bella/80/Entrance.png",
"visible": true,
"zoomFrom": 17,
"zoomTo": 21,
"labelZoomFrom": 17,
"labelZoomTo": 21
}
],
"properties": {
"name@en": "Entrance",
"name@da": "Indgang"
}
}
]
No content
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
PUT /{apiKey}/api/displaytypes HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 300
[
{
"id": "0a7533a062e84ed0a72a621a",
"name": "Entrance",
"displayRules": [
{
"name": "default",
"iconUrl": "https://app.mapsindoors.com/mapsindoors/gfx/bella/80/Entrance.png",
"visible": true,
"zoomFrom": 17,
"zoomTo": 21,
"labelZoomFrom": 17,
"labelZoomTo": 21
}
],
"properties": {
"name@en": "Entrance",
"name@da": "Indgang"
}
}
]
No content
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
DELETE /{apiKey}/api/displaytypes HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 28
[
"db6b07b3f4dd41fba865a5a6"
]
No content
The dataset ID to use
92553b2f03794e9ea1521227
(Optional) If not given id's will only match geodata with matching externalId. If set IDs will be found from the mapExternalId table
ubiqisense
GET /{datasetId}/api/geodata/mapExternalId HTTP/1.1
Host:
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": [
{
"id": "text",
"path": {
"datasetId": "text",
"venueId": "text",
"buildingId": "text",
"floorId": "text",
"floorIndex": "text",
"roomId": "text",
"locationId": "text"
},
"baseType": "text"
}
]
}
Get a mapping from Ids to Paths for all datasets for a customer. Will go though all solutions for the given customer.
Oauth2 Roles
- Requires user to have one of the following roles: owner, service
The customer ID to use
5583d3582a91e00f1cc4ecb1
(Optional) Livedata source origin (eg. "ubiqisense"). If not given id's will only match geodata with matching externalId. If set IDs will be found from the mapExternalId table
ubiqisense
GET /api/geodata/mapExternalId/customer?customerId=5583d3582a91e00f1cc4ecb1 HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": [
{
"id": "text",
"path": {
"datasetId": "text",
"venueId": "text",
"buildingId": "text",
"floorId": "text",
"floorIndex": "text",
"roomId": "text",
"locationId": "text"
},
"baseType": "text"
}
]
}
}
API Key
550c26a864617400a40f0000
Latitude of the point to examine. Valid range: +/- 90
57.086001
Longitude of the point to examine. Valid range: +/- 180
9.957824
Floor index to examine
0
GET /{apiKey}/api/geocode?lat=57.086001&lng=9.957824&floor=0 HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"parentId": "text",
"datasetId": "text",
"externalId": "text",
"baseType": "text",
"displayTypeId": "text",
"displaySetting": {
"name": "text",
"iconUrl": "text",
"iconScale": 1,
"iconSize": {
"width": 1,
"height": 1
},
"iconPlacement": 0,
"labelTemplate": "text",
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"labelZoomFrom": 1,
"labelZoomTo": 1,
"labelMaxWidth": 1,
"iconVisible": true,
"labelVisible": true,
"polygon": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"strokeWidth": 1,
"strokeColor": "text",
"strokeOpacity": 1,
"fillColor": "text",
"fillOpacity": 1,
"lightnessFactor": 1
},
"markerElevation": 1,
"walls": {
"visible": true,
"height": 1,
"color": "text",
"zoomFrom": 1,
"zoomTo": 1,
"lightnessFactor": 1
},
"extrusion": {
"visible": true,
"height": 1,
"color": "text",
"zoomFrom": 1,
"zoomTo": 1,
"lightnessFactor": 1
},
"model3D": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"model": "text",
"rotationX": 1,
"rotationY": 1,
"rotationZ": 1,
"scale": 1
},
"model2D": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"model": "text",
"widthMeters": 1,
"heightMeters": 1,
"bearing": 1
},
"badge": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"radius": 1,
"strokeWidth": 1,
"strokeColor": "text",
"fillColor": "text",
"scale": 1,
"position": 0
},
"labelStyle": {
"textSize": 1,
"textColor": "text",
"textOpacity": 1,
"haloColor": "text",
"haloWidth": 1,
"haloBlur": 1,
"bearing": 1,
"graphic": {
"backgroundImage": "text",
"stretchX": [
[
1
]
],
"stretchY": [
[
1
]
],
"content": [
1
]
},
"labelPosition": 0
},
"labelType": 0
},
"geometry": {
"type": 0
},
"anchor": {
"type": 0,
"coordinates": [
1
]
},
"aliases": [
"text"
],
"categories": [
"text"
],
"status": 0,
"baseTypeProperties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"properties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"tilesUrl": "text",
"tileStyles": [
{
"displayName": "text",
"style": "text"
}
]
}
]
The API Key to use
550c26a864617400a40f0000
(Optional) Filter the output so only elements with ancestors matches a root element is returned
5548c6583eb3c3080c4a92da
(Optional) Filter the output so only elements of the given type is returned. Supported values: "poi", "room", "floor", "building", "venue", "area"
poi
GET /{apiKey}/api/geodata HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"parentId": "text",
"datasetId": "text",
"externalId": "text",
"baseType": "text",
"displayTypeId": "text",
"displaySetting": {
"name": "text",
"iconUrl": "text",
"iconScale": 1,
"iconSize": {
"width": 1,
"height": 1
},
"iconPlacement": 0,
"labelTemplate": "text",
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"labelZoomFrom": 1,
"labelZoomTo": 1,
"labelMaxWidth": 1,
"iconVisible": true,
"labelVisible": true,
"polygon": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"strokeWidth": 1,
"strokeColor": "text",
"strokeOpacity": 1,
"fillColor": "text",
"fillOpacity": 1,
"lightnessFactor": 1
},
"markerElevation": 1,
"walls": {
"visible": true,
"height": 1,
"color": "text",
"zoomFrom": 1,
"zoomTo": 1,
"lightnessFactor": 1
},
"extrusion": {
"visible": true,
"height": 1,
"color": "text",
"zoomFrom": 1,
"zoomTo": 1,
"lightnessFactor": 1
},
"model3D": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"model": "text",
"rotationX": 1,
"rotationY": 1,
"rotationZ": 1,
"scale": 1
},
"model2D": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"model": "text",
"widthMeters": 1,
"heightMeters": 1,
"bearing": 1
},
"badge": {
"visible": true,
"zoomFrom": 1,
"zoomTo": 1,
"radius": 1,
"strokeWidth": 1,
"strokeColor": "text",
"fillColor": "text",
"scale": 1,
"position": 0
},
"labelStyle": {
"textSize": 1,
"textColor": "text",
"textOpacity": 1,
"haloColor": "text",
"haloWidth": 1,
"haloBlur": 1,
"bearing": 1,
"graphic": {
"backgroundImage": "text",
"stretchX": [
[
1
]
],
"stretchY": [
[
1
]
],
"content": [
1
]
},
"labelPosition": 0
},
"labelType": 0
},
"geometry": {
"type": 0
},
"anchor": {
"type": 0,
"coordinates": [
1
]
},
"aliases": [
"text"
],
"categories": [
"text"
],
"status": 0,
"baseTypeProperties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"properties": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"tilesUrl": "text",
"tileStyles": [
{
"displayName": "text",
"style": "text"
}
]
}
]
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
Bit 1: Active. Bit 2: Searchable. For Locations Status.Active is not used in never SDKs, it is overwritten with bool from evaluating if the current time is between ActiveFrom-ActiveTo. Searchable is used
Bit 1: Active. Bit 2: Searchable. For Locations Status.Active is not used in never SDKs, it is overwritten with bool from evaluating if the current time is between ActiveFrom-ActiveTo. Searchable is used
POST /{apiKey}/api/geodata HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1078
[
{
"parentId": "34c588fecbee45f199e8d67c",
"datasetId": "550c26a864617400a40f0000",
"solutionId": "550c26a864617400a40f0000",
"baseType": "poi",
"displayTypeId": "b6356efe8f044766979f70cf",
"displaySetting": {
"name": "default"
},
"geometry": {
"coordinates": [
9.957280663317908,
57.08613355600178
],
"type": "Point"
},
"anchor": {
"coordinates": [
9.957280663317908,
57.08613355600178
],
"type": "Point"
},
"aliases": [],
"categories": [
"5823246d07215b23a02e3cd8"
],
"status": 3,
"baseTypeProperties": {
"administrativeid": "9213bd5a-e335-4ee4-8465-2a7ef3491e94",
"imageurl": "https://tiles.mapsindoors.com/tiles/indoor/rtx/mapspeople.png",
"capacity": "0"
},
"properties": {
"website@da": "my.website.com",
"email@da": "[email protected]",
"phone@da": "555 1234567",
"samplekey@da": "samplevalue",
"name@da": "Sample infodesk (Danish)",
"description@da": "Sample description for this information desk (Danish)",
"website@en": "my.website.com",
"email@en": "[email protected]",
"phone@en": "555 1234567",
"samplekey@en": "samplevalue",
"name@en": "Sample infodesk (English)",
"description@en": "Sample description for this information desk (English)"
}
}
]
[
"db6b07b3f4dd41fba865a5a6"
]
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
PUT /{apiKey}/api/geodata HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1110
[
{
"parentId": "34c588fecbee45f199e8d67c",
"datasetId": "550c26a864617400a40f0000",
"solutionId": "550c26a864617400a40f0000",
"baseType": "poi",
"displayTypeId": "b6356efe8f044766979f70cf",
"displaySetting": {
"name": "default"
},
"geometry": {
"coordinates": [
9.957280663317908,
57.08613355600178
],
"type": "Point"
},
"anchor": {
"coordinates": [
9.957280663317908,
57.08613355600178
],
"type": "Point"
},
"aliases": [],
"categories": [
"5823246d07215b23a02e3cd8"
],
"status": 3,
"baseTypeProperties": {
"administrativeid": "9213bd5a-e335-4ee4-8465-2a7ef3491e94",
"imageurl": "https://tiles.mapsindoors.com/tiles/indoor/rtx/mapspeople.png",
"capacity": "0"
},
"properties": {
"website@da": "my.website.com",
"email@da": "[email protected]",
"phone@da": "555 1234567",
"samplekey@da": "samplevalue",
"name@da": "Sample infodesk (Danish)",
"description@da": "Sample description for this information desk (Danish)",
"website@en": "my.website.com",
"email@en": "[email protected]",
"phone@en": "555 1234567",
"samplekey@en": "samplevalue",
"name@en": "Sample infodesk (English)",
"description@en": "Sample description for this information desk (English)"
},
"id": "f441e4799b0f4c1ea2ea042b"
}
]
No content
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
DELETE /{apiKey}/api/geodata HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 28
[
"db6b07b3f4dd41fba865a5a6"
]
No content
A 2d model must be available in the geodata referenced to before it can be placed
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
A number of ways to fit an image to a given polygon.
trendingAngle
A number of ways to fit an image to a given polygon.
POST /{apiKey}/api/geodata/place2dmodel HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 59
[
{
"id": "6691bf61342c46c8a039397c",
"width": 98,
"height": 514
}
]
No content
Drops all (generated) graphs for a given solution causing the graph for these to be re-calculated
Oauth2 Roles
- Requires user to have the role: owner
The API Key to use
e718136997bb479b801d7146
(Optional) If set, only this graph will be deleted
null
DELETE /{apiKey}/api/graphs/graph HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
OK
No content
The API Key to use
550c26a864617400a40f0000
GET /{apiKey}/api/routing/graphs HTTP/1.1
Host:
Accept: */*
[
"db6b07b3f4dd41fba865a5a6"
]
The API Key to use
550c26a864617400a40f0000
The graphId to use
RTX_Graph
GET /{apiKey}/api/routing/routeelements?graphId=RTX_Graph HTTP/1.1
Host:
Accept: */*
[
{
"id": "text",
"datasetId": "text",
"externalId": "text",
"geometry": {
"type": 0
},
"restrictions": [
"text"
],
"onewayDirection": 1,
"waitTime": 1
}
]
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
The API Key to use
550c26a864617400a40f0000
UUID of this element as an extern ID
geoJSON point where this element is placed
(Optional) IF set - one or more of these tokens will be needed to traverse this area
(Optional) IF set - end users may only walk in the direction stated within the area (+/- 90 degrees)
(Optional) IF set (to a positive number) end users will be asked to wait this additional amount of seconds here.
PUT /{apiKey}/api/routing/routeelements HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 191
[
{
"id": "79edd6bb64724381bbf43923",
"datasetId": "550c26a864617400a40f0000",
"geometry": {
"coordinates": [
9.95721348677762,
57.0860020274923
],
"type": "Point"
},
"restrictions": [
"locked"
],
"waitTime": 0
}
]
No content
Last updated
Was this helpful?