The Asset Event Object can be used to store Event data for assets or devices, such as a scan of a RFID tag, reading of a barcode or user switching a piece of equipment on or off.
Module: Assets
Collection: AssetEvents
Object Identifier: assets.event
| Friendly Field Name | Data Field Name | General Data Type | Description | Optimised for Filtering |
|---|---|---|---|---|
| Unique Identifier | uuid | UUID | Universally unique identifier (UUID) for the Object. | Yes |
| Application Identifier | app_uuid | UUID | Identifier for the application associated with the record. | Yes |
| Application Context Reference | app_context_ref | Text (max length 50) | You can use this field to provide searchable context to your object – for example this may be an external identifier, or a lookup UUID to another object in your application. | Yes |
| Sub Identifier | sub_uuid | UUID | This field can be used to store a UUID to another Object. | Yes |
| Event ID | event_id | Number | Numeric Event ID sent by the device, or defined within your application. | Yes |
| Event Code | event_code | Text (max length 50) | Event code sent by the device, or defined within your application. | Yes |
| Event Operation | event_op | Text (max length 50) | Event operation. This could be slug (recommended) such as tag-read or qr-scan. | Yes |
| Event Timestamp | event_timestamp | DateTime | Time the event occurred. If this is not specified then the current UTC time will be stored. | Yes |
| Event Timezone | event_tz | Text (max length 50) | Timezone for the event time. | No |
| Event Source 1 | event_src_1 | Text (max length 100) | Data source reference 1. | Yes |
| Event Source 2 | event_src_2 | Text (max length 100) | Data source reference 2. | Yes |
| Event Source 3 | event_src_3 | Text (max length 100) | Data source reference 3. | Yes |
| Data Value 1 | data_value_1 | Text (max length 255) | Data value 1 for readings. | No |
| Data Value 2 | data_value_2 | Text (max length 255) | Data value 2 for readings. | No |
| Data Value 3 | data_value_3 | Text (max length 255) | Data value 3 for readings. | No |
| Long Text Data | data_text_long | Text | Long text data field for readings. | No |
| Event Type | event_type | Enumerated List | Pre-defined Event Type. Allowable values are:alarm, close, data, disabled, enabled, error, msg, | Yes |
| Event Status | event_status | Enumerated List | Status of the event. Allowable values are:accepted, cancelled, error, ok, (Default is 'ok')Required | No |
| Taxonomy | taxonomy | Text (max length 50) | Categorisation for the record. | Yes |
| Created At | created_at | DateTime | Date and time when the record was created. | No |
| Updated At | updated_at | DateTime | Date and time when the record was last updated. | No |
| Created By | created_by | Text (max length 50) | Identifier for the user who created the record. | No |
| Updated By | updated_by | Text (max length 50) | Identifier for the user who last updated the record. | No |
