Download OpenAPI specification:
The things service is used to configure and manage all kinds of things in GroupAlarm.
Returns a paginated list of entities for an organization, filtered to only those the caller has read access to
| organization_id required | integer id of the organization |
| limit | integer [ 1 .. 50 ] Default: 10 max. amount of entities in paginated list |
| offset | integer Default: 0 skipped entities in paginated list |
| search | string search term to filter entities by name |
{- "entities": [
- {
- "canRead": true,
- "canWrite": true,
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "selectionValues": [
- "string"
], - "type": "string"
}
], - "icon": "string",
- "id": "string",
- "name": "string",
- "organizationID": 0,
- "readOnlyUserIDs": [
- 0
], - "readWriteUserIDs": [
- 0
], - "recordCount": 0
}
], - "total": 0
}Creates a new entity for an organization
| description | string Description provides a detailed explanation of what this entity represents. |
Array of objects (Field defines the "Columns" or attributes available for a specific Entity.) Fields is the list of attribute definitions associated with this entity. | |
| icon | string Icon is an emoji for the visual representation of the entity. |
| id | string ID is the unique identifier (UUID) for the entity template. |
| name | string Name is the display name of the entity (e.g., "Fire Hydrant"). |
| organizationID | integer <int64> OrganizationID is the ID of the organization that owns this entity. |
| readOnlyUserIDs | Array of integers <int64> [ items <int64 > ] ReadOnlyUserIDs is the list of user IDs that have read-only access to records of this entity. |
| readWriteUserIDs | Array of integers <int64> [ items <int64 > ] ReadWriteUserIDs is the list of user IDs that have read/write access to records of this entity. |
| recordCount | integer <int64> RecordCount tracks the current number of records created for this entity. |
{- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "selectionValues": [
- "string"
], - "type": "string"
}
], - "icon": "string",
- "id": "string",
- "name": "string",
- "organizationID": 0,
- "readOnlyUserIDs": [
- 0
], - "readWriteUserIDs": [
- 0
], - "recordCount": 0
}{- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "selectionValues": [
- "string"
], - "type": "string"
}
], - "icon": "string",
- "id": "string",
- "name": "string",
- "organizationID": 0,
- "readOnlyUserIDs": [
- 0
], - "readWriteUserIDs": [
- 0
], - "recordCount": 0
}Returns a single entity of an organization
| uuid required | string unique identifier of the entity |
{- "canRead": true,
- "canWrite": true,
- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "selectionValues": [
- "string"
], - "type": "string"
}
], - "icon": "string",
- "id": "string",
- "name": "string",
- "organizationID": 0,
- "readOnlyUserIDs": [
- 0
], - "readWriteUserIDs": [
- 0
], - "recordCount": 0
}Updates an existing entity of an organization
| uuid required | string unique identifier of the entity |
| description | string Description provides a detailed explanation of what this entity represents. |
Array of objects (Field defines the "Columns" or attributes available for a specific Entity.) Fields is the list of attribute definitions associated with this entity. | |
| icon | string Icon is an emoji for the visual representation of the entity. |
| id | string ID is the unique identifier (UUID) for the entity template. |
| name | string Name is the display name of the entity (e.g., "Fire Hydrant"). |
| organizationID | integer <int64> OrganizationID is the ID of the organization that owns this entity. |
| readOnlyUserIDs | Array of integers <int64> [ items <int64 > ] ReadOnlyUserIDs is the list of user IDs that have read-only access to records of this entity. |
| readWriteUserIDs | Array of integers <int64> [ items <int64 > ] ReadWriteUserIDs is the list of user IDs that have read/write access to records of this entity. |
| recordCount | integer <int64> RecordCount tracks the current number of records created for this entity. |
{- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "selectionValues": [
- "string"
], - "type": "string"
}
], - "icon": "string",
- "id": "string",
- "name": "string",
- "organizationID": 0,
- "readOnlyUserIDs": [
- 0
], - "readWriteUserIDs": [
- 0
], - "recordCount": 0
}{- "description": "string",
- "fields": [
- {
- "id": "string",
- "name": "string",
- "selectionValues": [
- "string"
], - "type": "string"
}
], - "icon": "string",
- "id": "string",
- "name": "string",
- "organizationID": 0,
- "readOnlyUserIDs": [
- 0
], - "readWriteUserIDs": [
- 0
], - "recordCount": 0
}Returns a paginated list of records for an entity
| uuid required | string unique identifier of the entity |
| limit | integer [ 1 .. 50 ] Default: 10 max. amount of records in paginated list |
| offset | integer Default: 0 skipped records in paginated list |
| search | string search term to filter records |
| orderby | string field ID to order results by |
| orderdir | string Enum: "asc" "desc" sort direction (asc or desc) |
Creates a new record for an entity
| uuid required | string unique identifier of the entity |
Array of objects (Value holds the actual data for a specific field within a specific record.) Values contains the actual data entries mapped to the entity's fields. |
{- "values": [
- {
- "fieldID": "string",
- "id": "string",
- "value": "string"
}
]
}{- "entityID": "string",
- "id": "string",
- "values": [
- {
- "fieldID": "string",
- "id": "string",
- "value": "string"
}
]
}Records without an ID are created; records with an ID are updated. IDs listed in deleteIDs are deleted. Each operation is validated independently. Always returns HTTP 200 with four lists: created IDs, updated IDs, deleted IDs, and failed entries (each with a reason)
| uuid required | string unique identifier of the entity |
| deleteIDs | Array of strings DeleteIDs is the list of record IDs to delete. |
Array of objects (BulkRecordItem is a single record entry within a bulk request.) Records is the list of records to create (no ID) or update (with ID). |
{- "deleteIDs": [
- "string"
], - "records": [
- {
- "id": "string",
- "values": [
- {
- "fieldID": "string",
- "id": "string",
- "value": "string"
}
]
}
]
}{- "createdIDs": [
- "string"
], - "deletedIDs": [
- "string"
], - "failedEntries": [
- {
- "id": "string",
- "reason": "string"
}
], - "updatedIDs": [
- "string"
]
}Returns a single record
| uuid required | string unique identifier of the record |
{- "entityID": "string",
- "id": "string",
- "values": [
- {
- "fieldID": "string",
- "id": "string",
- "value": "string"
}
]
}Updates an existing record
| uuid required | string unique identifier of the record |
Array of objects (Value holds the actual data for a specific field within a specific record.) Values contains the actual data entries mapped to the entity's fields. |
{- "values": [
- {
- "fieldID": "string",
- "id": "string",
- "value": "string"
}
]
}{- "entityID": "string",
- "id": "string",
- "values": [
- {
- "fieldID": "string",
- "id": "string",
- "value": "string"
}
]
}Returns a paginated list of rules for an entity
| uuid required | string unique identifier of the entity |
| limit | integer [ 1 .. 50 ] Default: 10 max. amount of rules in paginated list |
| offset | integer Default: 0 skipped rules in paginated list |
Creates a new rule for an entity
| uuid required | string unique identifier of the entity |
| action | string (EntityRuleAction defines the types of actions that can be executed when an entity rule is triggered.) |
object (EntityRuleActionAlarmTemplateConfiguration holds the configuration details for an alarm template action in an entity rule.) | |
Array of objects (EntityRuleCondition represents a single condition that must be met for an entity rule to trigger its action.) | |
| description | string |
| entityID | string |
| id | string |
| name | string |
| triggers | Array of strings (EntityRuleTrigger defines the events that can trigger an entity rule.) |
{- "action": "string",
- "actionAlarmTemplate": {
- "alarmMessage": "string",
- "alarmTemplateID": 0,
- "documentKeysFieldID": "string",
- "eventName": "string",
- "positionFieldID": "string"
}, - "conditions": [
- {
- "comparison": "string",
- "fieldID": "string",
- "operator": "string"
}
], - "description": "string",
- "entityID": "string",
- "id": "string",
- "name": "string",
- "triggers": [
- "string"
]
}Updates an existing rule of an entity
| uuid required | string unique identifier of the entity |
| ruleUUID required | string unique identifier of the entity rule |
| action | string (EntityRuleAction defines the types of actions that can be executed when an entity rule is triggered.) |
object (EntityRuleActionAlarmTemplateConfiguration holds the configuration details for an alarm template action in an entity rule.) | |
Array of objects (EntityRuleCondition represents a single condition that must be met for an entity rule to trigger its action.) | |
| description | string |
| entityID | string |
| id | string |
| name | string |
| triggers | Array of strings (EntityRuleTrigger defines the events that can trigger an entity rule.) |
{- "action": "string",
- "actionAlarmTemplate": {
- "alarmMessage": "string",
- "alarmTemplateID": 0,
- "documentKeysFieldID": "string",
- "eventName": "string",
- "positionFieldID": "string"
}, - "conditions": [
- {
- "comparison": "string",
- "fieldID": "string",
- "operator": "string"
}
], - "description": "string",
- "entityID": "string",
- "id": "string",
- "name": "string",
- "triggers": [
- "string"
]
}Returns the current usage of the organization in terms of records and the record limit
| organization_id required | integer id of the organization |
{- "recordCount": 0,
- "recordLimit": 0
}