wfm.GetOrganisationObjects
This job returns information about the objects in an organization.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
STRING |
Yes |
ID of the organization |
|
INT |
Yes |
Flag specifying the request — the following parameters must be set accordingly: |
|
STRING |
Yes |
Comma-separated list of object IDs (relevant when |
|
STRING |
Yes |
Object name (relevant when |
|
STRING |
Yes |
Comma-separated list of class IDs (relevant when |
|
STRING |
Yes |
Class name (relevant when |
|
STRING |
Yes |
Currently not supported — pass |
|
STRING |
Yes |
Currently not supported — pass |
|
INT |
Yes |
Specifies the results of the request: |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
BASE64 |
— |
Information about the requested objects in XML format (see below) |
4. Example
Structure of Objects:
<Objects>
<Object Id="" Name="" ClassId="">
<Attributes>
<Attribute Id="" Name="" AttributeClassId="">
<AttributeValue><![CDATA[]]></AttributeValue>
</Attribute>
</Attributes>
<ParentObjects>
<ParentObject Id="" Name="" ClassId=""/>
</ParentObjects>
<ChildObjects>
<ChildObject Id="" Name="" ClassId=""/>
</ChildObjects>
</Object>
</Objects>
Description of the XML structure:
-
Object: Information about an organization object-
Id(STRING): ID of the object -
Name(STRING): Name of the object -
ClassId(STRING): Class ID of the object
-
-
Attribute: Information about an object attribute-
Id(STRING): ID of the attribute -
Name(STRING): Name of the attribute -
AttributeClassId(STRING): Attribute class ID of the attribute -
AttributeValue: CDATA with attribute value, possibly MIME-encoded
-
-
ParentObject: Organization object that stands directly above the current object in the organization tree-
Id(STRING): ID of the object -
Name(STRING): Name of the object -
ClassId(STRING): Class ID of the object
-
-
ChildObject: Organization object that stands directly under the current object in the organization tree-
Id(STRING): ID of the object -
Name(STRING): Name of the object -
ClassId(STRING): Class ID of the object
-