SOAP API - saveContainer
The table summarizes the SOAP API - saveContainer.
| Request | Uses the saveContainer element (from the DirectoryService schema) |
| Parameter notes (for an LDAP Query Source) |
|
| Parameter notes (for an LDAP Group Source) |
|
| Response | Returns a saveContainerResponse element (from the DirectoryService schema). |
| Example
(using an LDAP query) |
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dir="http://directory.api.de.bpm.tibco.com">
<soapenv:Header/>
<soapenv:Body>
<dir:saveContainer name="Seattle" description="Seattle Group">
<primary-ldap ldap-alias="easyAs"
resource-name-attributes="ou"
ldap-query="(objectClass=organizationalPerson)"
search-scope="ONELEVEL">
</primary-ldap>
</dir:saveContainer>
</soapenv:Body>
</soapenv:Envelope>
|
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<saveContainerResponse container-id="12" xmlns="http://directory.api.de.bpm.tibco.com"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
|
|
| Example
(using a group query) |
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dir="http://directory.api.de.bpm.tibco.com">
<soapenv:Header/>
<soapenv:Body>
<dir:saveContainer description="Customer Service Representatives" name="CSRs">
<primary-group-ldap ldap-alias="deLdap2" resource-name-attributes="displaynames"
group-dn="OU=CSR, OU-groups, O-insuranceSales"
member-attribute="roleoccupant">
</primary-group-ldap>
</dir:saveContainer>
</soapenv:Body>
</soapenv:Envelope>
|
Response:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<saveContainerResponse container-id="6" xmlns="http://directory.api.de.bpm.tibco.com"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
|
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
