Object type: Event Definitions | |
---|---|
A collection of Event Definitions | |
Field | Description |
EventFieldDef | This is an array of <B><Event Field Definition></B> objects. See below for a description of fields in Event Field Definition objects. |
Object type: Event Definitions | |
---|---|
Event Definition details | |
Field | Description |
columnSize | This is the maximum number of characters needed to store this field in the database. NOTE: This is only applicable to event fields whose default SQL column type is VARCHAR. |
columnType | This is a number representing the default SQL column type. These will be one of the column types specified in java.sql.Types. |
eventFieldName | This is the name of the event field. It is NOT the display name, but rather, the attribute tag name. |
eventFieldType | This is the event field's data type. 0=String, 1=Long, 2=Timestamp, 5=Integer, 7=IP Address, 8=UUID, 15=MAC Address. |
nullable | This will contain a value of 1 if the event field is allowed to be null (empty), 0 otherwise. |
GET /datasync/eventfielddefs
{ "EventFieldDef": [{<Event Field Definition>},{<Event Field Definition>}...]{ } Event Field Definition Fields { "eventFieldName": "evt", "eventFieldType": "0" "columnType": "12" "columnSize": "255" "nullable": "1" }