Service: Location

Reading, editing and operating locations

Functions

ResultName / ParamsComment
GetResultlocation.GetReturns a filtered list of Location 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.
GetResultlocation.GetReturns a filtered list of Location 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.
Locationlocation.GetOneReturns a single Location Object identified by the given id.
idguidThe Location's id.
selectstring[](Optional) List of properties that should be contained in the result object.
guidlocation.CreateCreates the Location in the system and returns the id of the Location. The Location must not have an id. If an id is set, the creation is rejected and an empty id is returned.
objectLocationThe Location to create.
boollocation.UpdateUpdates a Location with data from the provided Object.
objectLocationLocation to update
boollocation.SetSets specific properties of a Location Object.
idguidId of the Location 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.
boollocation.DeleteDeletes a Location Object. Returns true if successfully deleted or if no such Object existed to begin with.
idguidId of the Location to delete.
deleteDependentsbool(Optional) If set to true descendant of the Object identified by 'id' will also be deleted. If the parameter is not set, the default value is false.
boollocation.BulkModifyPerforms a bulk of changes at once. The changes are applied transactionally, so if any of the individual changes fails, none of the changes are applied.
createLocation[](Optional) List of Location Objects to create.
updateLocation[](Optional) List of Location Objects to update.
setObjectAspect[](Optional) List of Location Object properties to set.
deleteguid[](Optional) List of Location ids to delete.
deleteDependentsbool(Optional) If set to true descendant of the Object identified by 'id' will also be deleted. If the parameter is not set, the default value is false.

Notifications

Name / ParamsComment
location.CreatedNotifies about new Location Objects.
objectsLocation[]Newly created Location Objects.
location.UpdatedNotifies about updated Location Objects.
objectsLocation[]Changed Location Objects.
location.DeletedNotifies about deleted Location Objects.
idsguid[]Ids of the deleted Location Objects.

Objects

Location

Property Type Description
Id guid (Unique, Readonly)
ParentId guid
SegmentId guid
Order string (Unique) Defines the sequential order of the Objects. Should contain only letters A-Z, must never end with ‘A’.
Type int Assigned data segment. See EnumLocationType.
Name string (Localized) The location’s name.
Desc string (Localized) User defined description.
TimeZoneId ≥wg 0.6.1 string The IANA ID which defines the time zone of the location
Tags string Tags enclosed in vertical bars (pipes), such as “|tag1|tag2|tag3|”.
Graphic string Graphic file string with params.
Text string Text file string with params.
ExtRef string Optional reference for external mapping.
GeoPos GeoPosition Geographical coordinates.
EffectiveTags string (Computed) Effective list tags (assigend or inherited), enclosed in vertical bars (pipes), such as “|tag1|tag2|tag3|”.
EffectiveText string (Computed) Effective text (with inheritance).
EffectiveGraphic string (Computed) Effective graphics(with inheritance).
EffectiveGeoPos GeoPosition (Computed) Geographical coordinates (assigned or inherited).
EffectivePath ≥wg 0.4.11 string (Computed) The full location path showing the complete hierarchy
EffectiveTimeZoneId ≥wg 0.6.1 string (Computed) Effective time zone ID (with inheritance)
EditTime time (Readonly, Not in default set)
EditUser string (Readonly, Not in default set)

GeoPosition

Property Type Description
Latitude float (DistinctNull)
Longitude float (DistinctNull)
Altitude float (DistinctNull)

Enums

EnumLocationType

Name Value Description
Auto 0
Facility 10
Building 11
Floor 12
Room 13
Point 14
Last modified September 25, 2026