wfm.GetOrganisationClasses
This job returns information about the classes of 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 class IDs (relevant when |
|
STRING |
Yes |
Class name (relevant when |
|
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 classes in XML format (see below) |
4. Example
Structure of Classes:
<Classes>
<Class Id="10B9A20E90244BB9B701354C1AB84F8A" Name="Department">
<Attributes/>
<ParentObjects>
<ParentObject Id="894CB679F2ED480A89107BF33A1F" Name="Organization"/>
</ParentObjects>
<ChildClasses>
<ChildClass Id="12AA95D1D8244E6BB56C70A8D5CEE675" Name="Role"/>
</ChildClasses>
</Class>
<Class Id="9AB24246BB9040A29FCD6015CF4F4BD9" Name="Person">
<Attributes>
<Attribute Id="33D4AB4B39" Name="Last Name" AttributeClassId="07F405D">
<AttributeValue><![CDATA[]]></AttributeValue>
</Attribute>
</Attributes>
<ParentObjects>
<ParentObject Id="12AA95D1D8244E6BB56C70A8D5CEE675" Name="Role"/>
</ParentObjects>
<ChildClasses/>
</Class>
</Classes>
Description of the XML structure:
-
Class: Information about an organization class-
Id(STRING): ID of the class -
Name(STRING): Name of the class
-
-
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 class in the organization tree-
Id(STRING): ID of the object -
Name(STRING): Name of the object
-
-
ChildClass: Organization object that stands directly under the current class in the organization tree-
Id(STRING): ID of the object -
Name(STRING): Name of the object
-