SOAP API - getOrgModel

The table summarizes the SOAP API - getOrgModel.

Request Uses the getOrgModel element (from the OrgModelService schema)
Parameter notes model-version: Can be obtained using listOrgModelVersions .
Response Returns a getOrgModelResponse element (from the OrgModelService schema)
Example Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:org="http://orgmodel.api.de.bpm.tibco.com">

   <soapenv:Header/>

   <soapenv:Body>

      <org:getOrgModel model-version="1"         include-resource-counts="false" include-calendar-alias="false"         include-candidate-queries="false" include-ext-points="true"/>

   </soapenv:Body>

</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

   <SOAP-ENV:Header/>

   <SOAP-ENV:Body>

      <getOrgModelResponse model-version="9" xmlns="http://orgmodel.api.de.bpm.tibco.com">

         <organization guid="_uxf9UcoOEeG-IPt6GUFXxA" label="Acme Incorporated" name="AcmeIncorporated" xmlns="">

            <allocation-method method="ANY"/>

            <org-unit guid="_36QRkMoOEeG-IPt6GUFXxA" label="Sales" name="Sales">

               <allocation-method method="ANY"/>

               <position guid="_-j8iYMoOEeG-IPt6GUFXxA" ideal-number="1" label="Sales Rep" name="SalesRep" resource-count="2">

                  <allocation-method method="ANY"/>

               </position>

               <position guid="_8lLvoMoOEeG-IPt6GUFXxA" ideal-number="1" label="Sales Manager" name="SalesManager" resource-count="1">

          .

          .

<allocation-method method="ANY"/>

               </position>

               <position guid="_RcJ-gMoPEeG-IPt6GUFXxA" ideal-number="1" label="IT Rep" name="ITRep" resource-count="1">

                  <allocation-method method="ANY"/>

               </position>

            </org-unit>

         </organization>

      </getOrgModelResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>