pp108 : getUnits

getUnits

This method returns the units that have been deployed to the runtime.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <getUnits xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
        </getUnits>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Values

WorkspaceID

Unique and valid ID of the Collaborative Workspace (CWS)

No

GUID or null

SOAP Response

<getUnitsResponse readOnly="true"
    xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <getUnits>
        <Units>
            <Unit>
                <Id>001CC438-906D-11E2-EE38-EEEA14C33636</Id>
                <Name>college</Name>
                <Description>college</Description>
                <QName>organization unit/college</QName>
                <Space>organization</Space>
            </Unit>
            <Unit>
                <Id>001CC438-906D-11E2-EE38-EEEA14BEB636</Id>
                <Name>school</Name>
                <Description>school</Description>
                <QName>organization unit/school</QName>
                <Space>organization</Space>
            </Unit>
        </Units>
    </getUnits>
</getUnitsResponse>
Response Parameters

Parameter

Description

Unit

String that contains XML with details of the unit

Id

ID of the GUID unit

Name

Name of the unit

Description

Description of the unit

QName

Fully Qualified Name (FQN) of the unit

Space

Deployment space where unit is deployed. It can be 'organization' or 'isv'.