putTenant

In putTenant, the parameter tenant has the type WSTenant and returns type WSTenant.

To call putTenant. Note that tenantUri and tenantFolderUri are calculated automatically from the tenant’s tenantId and parentId. As a result, the tenantUri and tenantFolderUri fields of the WSTenant object are ignored:

WSTenant wsTenant = new WSTenant();
  wsTenant.setTenantId("suborg1");
  wsTenant.setParentId("organization_1");
  wsTenant.setTenantAlias("organization_1");
  wsTenant.setTenantName("Sub organization1");
  wsTenant.setTenantDesc("Sub organization1 description");
  wsTenant.setTenantNote("Sub organization notes");

The return is:

String getTenantId()
String getTenantName()
String getTenantAlias()
String getTenantDesc()
String getTenantNote()
String getTenantUri()
String getTenantFolderUri()
String getParentId()
Version: 
Feedback