Service: Extension

Reading and editing Extensions

Functions

ResultName / ParamsComment
GetResultextension.GetReturns a filtered list of Extension Objects.
filterstring(Optional) Filter expression which determines the result set.
selectstring[](Optional) List of properties that should be contained in the result objects.
limitint(Optional) Maximum amount of Objects that should be returned. (Max : 100000)
GetResultextension.GetReturns a filtered list of Extension 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.
scrollintScrolls through the result set with 'Next' or 'Prev'. Used for pagination. See EnumPaginationScroll.
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)
Extensionextension.GetOneReturns a single Extension Object identified by the given id.
idguidThe Extension's id.
selectstring[](Optional) List of properties that should be contained in the result object.
guidextension.CreateCreates the Extension in the system and returns the id of the Extension. The Extension must not have an id. If an id is set, a Data.Validation error is thrown.
objectExtensionThe Extension to create.
boolextension.UpdateUpdates a Extension with data from the provided Object.
objectExtensionExtension to update
boolextension.SetSets specific properties of a Extension Object.
idguidId of the Extension to modify.
propsvalue{}List of properties that should be set. Property paths may be used as ids to address any partial aspect of the Object.
boolextension.DeleteDeletes a Extension Object. Returns true if successfully deleted or if no such Object existed to begin with.
idguidId of the Extension to delete.
boolextension.BulkModifyPerforms a bulk of changes at once.
createExtension[](Optional) List of Extension Objects to create.
updateExtension[](Optional) List of Extension Objects to update.
setObjectAspect[](Optional) List of Extension Object properties to set.
deleteguid[](Optional) List of Extension ids to delete.
boolextension.RestartRestarts an Extension.
idguidId of the Extension.

Notifications

Name / ParamsComment
extension.CreatedNotifies about new Extension Objects.
objectsExtension[]Newly created Extension Objects.
extension.UpdatedNotifies about updated Extension Objects.
objectsExtension[]Changed Extension Objects.
extension.DeletedNotifies about deleted Extension Objects.
idsguid[]Ids of the deleted Extension Objects.

Objects

Extension

Property Type Description
Id guid (Unique, Readonly) Unique id of the Extension Data Object.
SegmentId guid Assigned data segment.
Code string (Unique) Code of the Extension, used in URLs.
Name string (Localized) Name of the Extension, if empty ‘code’ is used.
Desc string (Localized) Description, might be a resource string.
Module string Code of the used module.
IsManaged bool Extension is started automatically from local station. No API Key needed.
AccessToken string Authentication token for externally started Extension.
AutomaticStations ≥wg 0.5.3 bool The stations on which this extension should run are determined automatically. The Stations Property is ignored if this is true.
Stations ≥wg 0.5.0 string[] List of station codes. On these stations the Extension can connect or will be started.
MainStations ≥wg 0.5.0 string[] List of (ordered) main connections.
ModuleXmlFile string Used Module.xml file.
AppXmlFile string Used App.xml file.
Configuration string Used configuration.
CustomFolder string Custom folder if appropriate.
Traits string[] (Readonly) Supported Traits. See EnumModuleTrait.
EffectiveVersion string (Readonly) Current version of the module.
EffectiveType ≥wg 0.4.18 string (Readonly) Type classification See EnumExtensionType.
EditTime time (Readonly, Not in default set)
EditUser string (Readonly, Not in default set)

Enums

EnumExtensionType

Name Value Description
System sys Internally managed extension
Module mod Default extension type
Api ≥wg 0.6.3 api Simple extension to access api functions

EnumModuleTrait

Name Value Description
Adapter adapter Interface to external objects with States, and Events.
Monitor monitor Provides data streams to visualize monitor information.
AP ap Supports querying Objects for Automatic Data Supply.
UI ui Provides ui content.
X4 X4 This is a legacy X4 module.
Browsable browsable Supports querying Objects for specific Nodes.
Settings settings Has individual Settings.
Demo demo Can run without license.
NoLic nolic Can run without license.
MultiStation multistation Can be operated at several stations.
Concurrent concurrent Allows creating Events on stations running in local mode. Use responsibly. Only recommended for notification Events.
MultiClient multiclient Multiple clients of this module can connect simultaneously.
ControlPanel controlpanel Can display an Extension provided Control Panel.
UserAuthentication userauth Uses user sessions obtained from OAuth to authenticate against the AOP Node.
Help help Help files are available for display.
Manageable manageable The module can be managed by the App, e.g. started and stopped.
LocalObjects localobjects Only exchange local Objects (e.g. local telephones) between the AOP server and the extension, i.e. the extension knows different objects depending on the station it runs on and thus can only trigger app states and app events for these objects. The extension may still receive operations for “non-local” objects.
Last modified September 25, 2026