Entities
Entities are the core of Nextspace. An Entity is a record that can represent anything based on your own level of categorization, attribution, and tagging.
Examples of Entity records can be a certain building, a person, or a vehicle.
Data model
To avoid repeating the data model in the documentation, we'll cover it once here.
Please refer to the terminology section for a definition if you're unsure what an Entity is.
Below is a minimal example of an Entity record. Your custom attributes will sit alongside the Nextspace ones.
Requesting an Entity record
The simplest way to retrieve an Entity record is through an HTTPS GET request.
It is best to include a session header as Entities can be restricted through tags.
Get a single record by ID
Requesting list by IDs
You can also request a list of Entities by their IDs.
Get list of records by IDs
Requesting list with an attribute query
Below is a breakdown of how the basics of attribute queries work when requesting a list of Entities.
Supported microservices will apply these filters when requesting external data (for example Maximo) by reversing the data mapping between the two sources.
It is recommended to use DataLab for more advanced queries.
Get list of records with attribute queries
Requesting list with a geographic query
Below is how you can perform a basic geographic boundary query when requesting a list of Entities.
Get list of records by IDs
Updating and creating records
You can request an update or create an Entity record by performing an HTTPS POST request with the Entity's data within the body.
If the Entity ID is not provided, a new Entity will be created.