Describes the JSON object of an Organization.
An Organization in NanoView can store Devices, Users, and Limits among others. Organizations are used to separate Devices and Users to groups (Organizations).
Organizations can also be nested inside other Organizations to model a portfolio, its buildings, their floors and their spaces. See Organization Hierarchy.
| Property | Type | Description |
|---|---|---|
| id | String | ID of Organization |
| label | String | Label of Organization |
| name | String | Name of Organization |
| createdAt | String | Date Organization was created |
| app | Object | App of the organization. Each organization can be related to one single app only. |
| parent | Object | Organization this one is nested in, with its url, id, label, name and createdAt. null for a root Organization. See Organization Hierarchy. |
| description | String | Description of Device |
| devicesCount | Integer | Number of Devices in Organization |
| favicon | Image File | Icon of Organization |
| logo | Image File | Logo of Organization |
| isActive | Boolean | True if Organization is active |
| limits | Object Array | Limits of Organization, e.g. Email limit or SMS limit |
| properties | Object | Properties of Organization |
| tags | String Array | Tags of Organization. Use them to mark the level of a node in the hierarchy, for example ["building"] or ["space"]. |
| usersCount | Integer | Number of Users of Organization |
| url | String | URL of Organization |
Counts include the nested OrganizationsIn the Get all Organizations list,
devicesCountandusersCountcount the Organization and every Organization nested below it. Each Device and each User is counted once.
Device
{
"app": {
"id": "5dfa39901a9ca53020c6938d",
"label": "my_application",
"name": "NanoView App of Me",
"url": "https://nanoview-api.wellairsolutions.com/api/v2.0/apps/5dfa39901a9ca53020c6938d"
},
"createdAt": "2020-01-01T14:05:55.471155Z",
"description": "Other Organization",
"devicesCount": 0,
"favicon": null,
"id": "435ab418805c32fa400f",
"isActive": true,
"label": "my-second-customer",
"limits": [
{
"actual_value": 0,
"icon": "hdd-o",
"max_value": "*",
"name": "Devices",
"type": "devices"
},
{
"actual_value": 0,
"icon": "envelope",
"max_value": "*",
"name": "Emails",
"type": "emails"
},
{
"actual_value": 0,
"icon": "signal",
"max_value": "*",
"name": "Variables",
"type": "variables"
},
{
"actual_value": 0,
"icon": "users",
"max_value": "*",
"name": "Users",
"type": "users"
},
{
"actual_value": 0,
"icon": "spinner",
"max_value": "*",
"name": "Dots",
"type": "dots"
},
{
"actual_value": 0,
"icon": "mobile-phone",
"max_value": "*",
"name": "SMS",
"type": "sms"
},
{
"actual_value": 0,
"icon": null,
"max_value": "*",
"name": "Voice",
"type": "voice"
}
],
"logo": null,
"name": "My Second Customer",
"parent": {
"url": "https://nanoview-api.wellairsolutions.com/api/v2.0/organizations/64a1b2c3d4e5f60001234567",
"id": "64a1b2c3d4e5f60001234567",
"label": "my-portfolio",
"name": "My Portfolio",
"createdAt": "2019-12-18T10:02:11.120000Z"
},
"properties": {"any": "thing"},
"tags": ["building"],
"url": "https://nanoview-api.wellairsolutions.com/api/v2.0/organizations/435ab418805c32fa400f",
"usersCount": 0
}