Service: DeviceType

Reading and editing the device types

Functions

ResultName / ParamsComment
DeviceTypeGetResultdeviceType.GetReturns a filtered list of DeviceType Objects.
modestring(Optional) View of the objects to return: raw or effective. Default is effective. See DataMode.
includestring(Optional) Adds the other view to the result; only values that differ are added (under @meta.overlay). See DataMode.
filterDataFilter(Optional) Filter definition which determines the result set.
sortDataSortItem[](Optional) Sorting definition as a list of properties with order.
offsetint(Optional) Offset of the first Object in the result set that should be returned. Used for direct pagination.
limitint(Optional) Maximum amount of Objects that should be returned. (Max : 100000)
selectstring[](Optional) List of properties that should be contained in the result objects.
DeviceTypeGetResultdeviceType.GetNextReturns a filtered list of DeviceType Objects as a follow up to a previous Get call.
contextstringThe context received within the last get result. Mandatory for subsequent get calls with pagination.
scrollint(Optional) Scrolls through the result set with 'Next' or 'Prev'. Used for pagination. See PaginationScroll.
offsetint(Optional) Offset of the first Object in the result set that should be returned. Used for direct pagination.
limitint(Optional) Maximum amount of Objects that should be returned. (Max : 100000)
DeviceTypedeviceType.GetOneReturns a single DeviceType Object identified by the given id.
idguidThe DeviceType's id.
modestring(Optional) View of the object to return: raw or effective. Default is effective. See DataMode.
includestring(Optional) Adds the other view to the result; only values that differ are added (under @meta.overlay). See DataMode.
selectstring[](Optional) List of properties that should be contained in the result object.
guiddeviceType.CreateCreates the DeviceType in the system and returns the id of the DeviceType. The DeviceType must not have an id. If an id is set, the creation is rejected and an empty id is returned.
objectDeviceTypeRawThe DeviceType to create.
booldeviceType.UpdateUpdates a DeviceType with data from the provided Object.
idguidId of the DeviceType to update.
objectDeviceTypeRawDeviceType to update
booldeviceType.SetSets specific properties of a DeviceType Object.
idguidId of the DeviceType to modify.
propsvalue{}(Key: SymbolPath) List of properties that should be set. Property paths may be used as ids to address any partial aspect of the Object.
booldeviceType.DeleteDeletes a DeviceType Object. Returns true if successfully deleted or if no such Object existed to begin with.
idguidId of the DeviceType to delete.
booldeviceType.BulkModifyPerforms a bulk of changes at once.
createDeviceTypeRaw[](Optional) List of DeviceType Objects to create.
updateDeviceTypeRaw[](Optional) List of DeviceType Objects to update.
setObjectAspect[](Optional) List of DeviceType Object properties to set.
deleteguid[](Optional) List of DeviceType ids to delete.

Notifications

Name / ParamsComment
deviceType.CreatedNotifies about new DeviceType Objects.
objectsDeviceType[]Newly created DeviceType Objects.
deviceType.UpdatedNotifies about updated DeviceType Objects.
objectsDeviceType[]Changed DeviceType Objects.
deviceType.DeletedNotifies about deleted DeviceType Objects.
idsguid[]Ids of the deleted DeviceType Objects.

Objects

DeviceType

This object extends DeviceTypeRaw.

Property Type Description
EditTime time (Readonly, Not in default set)
EditUser string (Readonly, Not in default set)

DeviceTypeGetResult

Property Type Description
Objects DeviceType[] Array of Objects.
Pagination Pagination Describes the result set, if not all Objects were returned.

DeviceTypeRaw

Property Type Description
Id guid (Readonly)
Code string Code, used for references.
Name string Display name, if empty ‘code’ is used.
Order string Defines the sequential order. Should contain only letters A-Z, must never end with ‘A’.
Icon string Resource id or path of the icon.
Symbol string Symbol graphic file.
Categories string[] Assigned categories, referenced by their code.
ExtRef string (Unique) Alternative reference for CAD symbol mapping.

Enums

PaginationScroll

Name Value Description
Offset 0 Scrolls to fixed position.
Next 1 Scrolls to next items for given context.
Prev 2 Scrolls to previous items for given context.
Last modified September 25, 2026