Attributes
Computed attributes management
Fetch a list of Attributes
Without params, it returns a list of Attributes the user has access to
Parameters
allbooleanqueryCan only be used by admins or managers to fetch all entities
userIdintegerqueryStandard users can use this only with their own userId
deviceIdintegerqueryStandard users can use this only with _deviceId_s, they have access to
groupIdintegerqueryStandard users can use this only with _groupId_s, they have access to
refreshbooleanquerylimitintegerqueryLimit the number of returned results
offsetintegerqueryOffset for pagination
keywordstringquerySearch keyword filter
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Create an Attribute
Body
idinteger<int64>Unique computed attribute identifier
descriptionstringHuman readable name of the attribute
attributestringAttribute name used in expressions
expressionstringExpression that defines how the attribute is calculated
typestringString|Number|Boolean
Response
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Evaluate a Computed Attribute against the latest Device Position
Admin only. Returns the computed value without persisting the attribute.
Body
idinteger<int64>Unique computed attribute identifier
descriptionstringHuman readable name of the attribute
attributestringAttribute name used in expressions
expressionstringExpression that defines how the attribute is calculated
typestringString|Number|Boolean
Parameters
deviceIdintegerrequiredqueryResponse
OK
Computation produced no value
Bad request
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Fetch an Attribute
Parameters
idintegerrequiredpathResponse
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Update an Attribute
Body
idinteger<int64>Unique computed attribute identifier
descriptionstringHuman readable name of the attribute
attributestringAttribute name used in expressions
expressionstringExpression that defines how the attribute is calculated
typestringString|Number|Boolean
Parameters
idintegerrequiredpathResponse
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Delete an Attribute
Parameters
idintegerrequiredpathResponse
No Content
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)