Asset Tags

Tags are a powerful way to manage and search for floors, rooms, and zones. The GraphQL API allows you to assign, manage, and query tags, efficiently categorizing spaces and retrieving relevant data.

Use Cases for Tags

  • Organizing Spaces: Categorize rooms, floors, and zones (e.g., meeting room, bathroom, kitchen) for better management.

  • Simplifying Search: Quickly locate assets by filtering tags like conference room or workstation.

  • Aggregating Data: Group assets with shared tags (e.g., windows, dual-monitor) for detailed analysis.

Creating a Tag

To create a new tag, use the createTag mutation. Tags are associated by their unique ID, allowing you to update tag names without affecting associations.

Associating a Tag

After creating a tag, associate it with Zones, Rooms, or Floors using their IDs. Use the associateTag mutation to define these relationships.

The ids field is an array of Rooms, Zones and Floors that you want to tag, for example:

You can also disassociate a tag:

Querying by Tag

Once tags are assigned, you can query for objects associated with specific tags, such as Floor, Rooms, or Zones.

Or you can get information about associated Tags from a Floor, Room, or Zone object:

Accessing Tag Details

Tags are accessible as objects containing a name and an id. From a tag object, you can retrieve the associated Zones, Rooms, and Floors.

Query for Tags

Retrieve all tags in your organization:

Last updated