SOAP API - importResources
The table summarizes the SOAP API - importResources.
Request | Uses the importResourcesRequest element (from the ExporterService schema) |
Parameter notes | Use the output from the exportResources operation as the input to this operation. |
Response | Returns a importResourcesResponse element (from the ExporterService schema) |
Example | Request:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://exporter.api.de.n2.tibco.com"> <soapenv:Header/> <soapenv:Body> <exp:importResourcesRequest> <container active="true" description="" entity-count="8" id="1" last-accessed="2011-08-01T16:16:59.490Z" name="easyAs" xmlns=""> <primary-ldap display-name-attributes="ou" guid="0FFC620C-31FC-4687-94A8-08E9F7F07D89" id="1" ldap-alias="easyAs" ldap-search-string="(objectClass=organizationalPerson)"/> </container> <resource id="tibco-admin" ldapalias="system" ldapdn="UID=admin, OU=system" name="tibco-admin" resourceType="HUMAN" xmlns=""> <resourceGroup groupId="CF931D25A207BF4C4458FF923692F350"/> <resourceGroup groupId="CD4888DFE350794FE9185524F409A6F0"/> <resourceGroup groupId="Undelivered"/> <resourceGroup groupId="BBC750FBBDD594EDD04E42CAC1C731E7"/> <resourceGroup groupId="CF8999291E375FA9B249009F98C457A8"/> </resource> <resource id="B15F1CE0-4B28-4F48-BC7C-42C171A9AF48" ldapalias="easyAs" ldapcontainer="easyAs" ldapdn="OU=Liam Lawrence, OU=London, OU=AllEmployees, O=easyAsInsurance" name="Liam Lawrence" resourceType="HUMAN" xmlns=""> <positionHeld positionId="_2ieLgMpREd64gM7QE8RwxA"/> </resource> . . . <resource id="D4E3C720-5500-4651-B105-6C60C613E226" ldapalias="easyAs" ldapcontainer="easyAs" ldapdn="OU=Leon Court, OU=Paris, OU=AllEmployees, O=easyAsInsurance" name="Leon Court" resourceType="HUMAN" xmlns=""> <positionHeld positionId="_2ieLgMpREd64gM7QE8RwxA"/> </resource> </exp:importResourcesRequest> </soapenv:Body> </soapenv:Envelope> |
Response:<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <importResourcesResponse xmlns="http://exporter.api.de.n2.tibco.com">true</importResourcesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Copyright © Cloud Software Group, Inc. All rights reserved.