Organization Object

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.

PropertyTypeDescription
idStringID of Organization
labelStringLabel of Organization
nameStringName of Organization
createdAtStringDate Organization was created
appObjectApp of the organization. Each organization can be related to one single app only.
parentObjectOrganization this one is nested in, with its url, id, label, name and createdAt. null for a root Organization. See Organization Hierarchy.
descriptionStringDescription of Device
devicesCountIntegerNumber of Devices in Organization
faviconImage FileIcon of Organization
logoImage FileLogo of Organization
isActiveBooleanTrue if Organization is active
limitsObject ArrayLimits of Organization, e.g. Email limit or SMS limit
propertiesObjectProperties of Organization
tagsString ArrayTags of Organization. Use them to mark the level of a node in the hierarchy, for example ["building"] or ["space"].
usersCountIntegerNumber of Users of Organization
urlStringURL of Organization
📘

Counts include the nested Organizations

In the Get all Organizations list, devicesCount and usersCount count 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
}