REST API - importResources
The table summarizes the REST API - importResources.
Request
Format | POST <baseurl>/resources/import |
Body | (required) Uses the output from exportResources element (from the ExporterService schema) as the input to this operation. |
Example
Request | POST <baseurl>/resources/import |
Request Body | <xml-fragment model-version="1"> * <container id="51" name="ldap 1" description="Main LDAP Container" last-accessed="2013-01-24T08:00:30.340Z" active="true" entity-count="0"> * <primary-ldap id="52" guid="7893D088-8CB3-46FF-81B3-4BC3E715C830" ldap-alias="deLdap2" ldap-search-string="(objectclass=person)" display-name-attributes="displayname" base-dn="OU=employees"/> * <secondary-ldap id="51" guid="4CA2F37C-0205-4123-AA0D-86E93760B81D" ldap-alias="deLdap3" ldap-search-string="(objectclass=person)" base-dn="OU=GlobalSales"> * <container-mapping primary-attribute="uid" secondary-attribute="displayname"/> * </secondary-ldap> * <attribute-mapping ldap-resource-id="51" business-attribute-id="_tGJAEENiEeKAZfVOYVYcoA" ldap-attribute="destinationindicator"/> * <attribute-mapping ldap-resource-id="52" business-attribute-id="_sjWcEENiEeKAZfVOYVYcoA" ldap-attribute="mail"/> * </container> * <resource id="BE592129-F53D-46B1-B057-9D438DADE8DF" name="Clint Hill" label="Mr Clint Hill" ldapcontainer="ldap 1" ldapalias="deLdap2" ldapdn="UID=chill, OU=employees, O=insuranceServices"> * <parameter descriptor="_sjWcEENiEeKAZfVOYVYcoA" ldapalias="deLdap2" ldapdn="UID=chill, OU=employees, O=insuranceServices" ldapattribute="mail"/> * <parameter descriptor="_tGJAEENiEeKAZfVOYVYcoA" ldapalias="deLdap3" ldapdn="UID=Clint Hill, OU=GlobalSales, O=insuranceSales" ldapattribute="destinationindicator"/> * <parameter descriptor="_tarFoENiEeKAZfVOYVYcoA"/> * <secondary-ldap ldapalias="deLdap3" ldapdn="UID=Clint Hill, OU=GlobalSales, O=insuranceSales"/> * </resource> * </xml-fragment> |
Copyright © TIBCO Software Inc. All Rights Reserved.