Service: Category

Reading and editing the categories

Provides read/write access to category Data Objects.

Functions

ResultName / ParamsComment
CategoryGetResultcategory.GetReturns a filtered list of Category 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.
CategoryGetResultcategory.GetNextReturns a filtered list of Category 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)
Categorycategory.GetOneReturns a single Category Object identified by the given id.
idguidThe Category'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.
guidcategory.CreateCreates the Category in the system and returns the id of the Category. The Category must not have an id. If an id is set, the creation is rejected and an empty id is returned.
objectCategoryRawThe Category to create.
boolcategory.UpdateUpdates a Category with data from the provided Object.
idguidId of the Category to update.
objectCategoryRawCategory to update
boolcategory.SetSets specific properties of a Category Object.
idguidId of the Category 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.
boolcategory.DeleteDeletes a Category Object. Returns true if successfully deleted or if no such Object existed to begin with.
idguidId of the Category to delete.
boolcategory.BulkModifyPerforms a bulk of changes at once.
createCategoryRaw[](Optional) List of Category Objects to create.
updateCategoryRaw[](Optional) List of Category Objects to update.
setObjectAspect[](Optional) List of Category Object properties to set.
deleteguid[](Optional) List of Category ids to delete.

Notifications

Name / ParamsComment
category.CreatedNotifies about new Category Objects.
objectsCategory[]Newly created Category Objects.
category.UpdatedNotifies about updated Category Objects.
objectsCategory[]Changed Category Objects.
category.DeletedNotifies about deleted Category Objects.
idsguid[]Ids of the deleted Category Objects.

Objects

Category

This object extends CategoryRaw.

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

CategoryGetResult

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

CategoryRaw

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 used by datapoints of this category as fallback if they don’t have a device type assigned with its own symbol.

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