GetXMLRecord
GetXMLRecord(sXMLString As String, ObjectType As Integer[, ObjectId As Integer[, StationId As Integer[, Flags As Integer]]]) As Integer
Gets object attributes into an XML record.
<ObjectType> defines the required object:
- 0 = Tag
- 2 = User
- 3 = Call group
- 4 = Tag group
- 6 = Team
- 10 = Station
The optional parameter <ObjectId> can specify an instance of the required object. The value 0 (default value) means all objects of the type specified by <ObjectType> are required.
The optional parameter <StationId> can specify a station. The value 0 (default value) means the objects of all stations are concerned.
The optional parameter <Flags> (0 by default) can specify the following options:
- &H20000000: The
<ObjectId>parameter specifies an index (not an OId) - &H10000000: The
<sXMLString>parameter contains in entry the name of the required object
Returns 0 if the function is successful with the required XML record in <sXMLString> or an error code.