Represents a physical place. Can be composed of Zones and Beacons.
The Place object
Name | Type | Mandatory? | Description |
---|---|---|---|
createdAt | long | Autogenerated | Creation date (timestamp UTC). |
updatedAt | long | Autogenerated | Last update time (timestamp UTC). |
placeId | string | Autogenerated | Place identifier. |
accountId | string | Yes | Id of the parent Account. |
config.name | string | Yes | Name of the Place. |
config.description | string | No | Description of the Place. |
config.geoFence | GeoFence | No | GeoFence data of the place. |
config.geoFence.latitude | double | Yes | The latitude of the center of the GeoFence. Valid range: [-90, 90] |
config.geoFence.longitude | double | Yes | The longitude of the center of the GeoFence. Valid range: [-180, 180] |
config.geoFence.radius | float | Yes | The radius of the GeoFence. Minimum value: 100 |
config.geoFence.geoTag | GeoTag | No | Localization data of the GeoFence. |
zones | Zone list | No (Read only view) | List of Zones contained in the Place |
{
"createdAt": 1491816253020,
"updatedAt": 1492010406138,
"placeId": "rzwbxsgXSRSxqdjSe7xZTQ",
"accountId": "TAPFXFowToO4dFsktFzz9Q",
"config": {
"name": "Innoquant HQ",
"description": "This is our office!",
"geoFence": {
"latitude": 41.46728360204384,
"longitude": 2.0912861824035645,
"radius": 100,
"type": 0,
"geoTag": {
"country": "ES",
"region": "Catalunya",
"county": "Barcelona",
"locality": "Sant Cugat del Vallès, 57",
"postCode": "08172",
"streetName": "Avinguda de la Torre Blanca",
"countryFID": "429f72bc-81ab-d2cc-438a-ace356bde631",
"regionFID": "082a01de-81ab-d2cc-438a-ace356bde631",
"countyFID": "082a09e0-81ab-d2cc-438a-ace356bde631",
"localityFID": "0832922c-81ab-d2cc-438a-ace356bde631",
"displayName": "Avinguda de la Torre Blanca, Sant Cugat del Vallès, 57, 08172, Barcelona"
}
}
},
"zones": [
{
"createdAt": 1491816253021,
"updatedAt": 1492010611380,
"zoneId": "1udDPRkMQrKivHgU8vIyUg",
"placeId": "rzwbxsgXSRSxqdjSe7xZTQ",
"config": {
"name": "HQ Entrance",
"description": "Building entrance",
"floorNumber": 0,
"category": "Entrance",
"enabled": true,
"type": "BeaconGroup",
"provider": "MOCA"
},
"placeName": "Innoquant HQ"
}
]
}