SOAP API - getOrgModelRoots
The table summarizes the SOAP API - getOrgModelRoots.
Request | Uses the getOrgModelRoots element (from the OrgModelService schema) |
Parameter notes | model-version: Can be obtained using listOrgModelVersions. |
Response | Returns a getOrgModelRootsResponse 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:getOrgModelRoots model-version="1" include-categories="true"/> </soapenv:Body> </soapenv:Envelope> |
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <getOrgModelRootsResponse model-version="1" xmlns="http://orgmodel.api.de.bpm.tibco.com"> <capability-category guid="_nytFsO44EeSfeZXXCMB77x" label="finance" name="finance" xmlns=""/> <capability guid="_nytFsO44EeSfeZXXCMB77w" label="purchase" name="purchase" xmlns=""/> <capability guid="_oML8sO44EeSfeZXXCMB77w" label="sales" name="sales" xmlns=""/> </capability-category> <privilege-category guid="_nytFsO44EeSfeZXXCMB77z" label="org-model" name="orgmodel" xmlns=""/> <privilege guid="_pdqysO44EeSfeZXXCMB77w" label="browse" name="browse" xmlns=""/> <privilege guid="_p-PJIO44EeSfeZXXCMB77w" label="user-admin" name="useradmin" xmlns=""/> </privilege-category> <organization guid="_WqkgEe44EeSfeZXXCMB77w" label="Organization1" name="Organization1" xmlns=""> <allocation-method method="NEXT"/> <org-unit guid="_9AzbIO44EeSfeZXXCMB77w" label="finance" name="finance"/> <org-unit guid="_9aIhIO44EeSfeZXXCMB77w" label="customer-support" name="customersupport"/> </organization> </getOrgModelRootsResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.