REST API - setExtensionPoints - Set or Update Extension Point Reference

The table summarizes the REST API - setExtensionPoints.

Request

Format
POST <baseurl>/orgmodel/extensionpoint
Body XmlExtensionPointAssignment element, which specifies a reference to an organization model template that will be used to dynamically generate new organizational fragments directly below it.

Response

JSON If successful, returns 200 OK in the response header, and an empty response body.
XML If successful, returns 200 OK in the response header, and an empty response body.

Example

Request
POST <baseurl>/orgmodel/extensionpoint
Request body
<xml-fragment model-version="1" ext-point-guid="_a-yPUMLpEeKMoPF54uJGPA"
              ldap-alias="deLdap6" base-dn="ou=GlobalSales"               query="(destinationIndicator=Region1)"
              search-scope="ONELEVEL" ldap-attribute="uid">
 <instance-id-attr name="Country" ldap-attribute="destinationIndicator"/>
 <instance-id-attr name="State" ldap-attribute="uid"/>
</xml-fragment>