Index | Method | Request(s) | Response | Description | ||||
---|---|---|---|---|---|---|---|---|
1 | getTenant |
sid name |
tenant | gets a specific tenant by it's name | ||||
2 | storeTenant |
sid tenant |
tenantId | creates/updates a tenant; returns the identifier of the created/updated instance | ||||
3 | deleteTenant |
sid tenantId |
deletes an existing tenant | |||||
4 | getTenantById |
sid tenantId |
tenant | gets a specific tenant by it's identifier | ||||
5 | listTenants |
sid |
tenant | gets all existing tenants |
gets a specific tenant by it's name
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
tenant
|
WSTenant | Y | ||||||
id
|
Long | Y | unique identifier | |||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
name
|
String | Y | ||||||
displayName
|
String | |||||||
street
|
String | |||||||
postalCode
|
String | |||||||
city
|
String | |||||||
state
|
String | |||||||
country
|
String | |||||||
email
|
String | |||||||
telephone
|
String | |||||||
type
|
Int | Y | must be 0 | |||||
maxUsers
|
Integer | maximum number of users | ||||||
maxSessions
|
Integer | maximum number of concurrent sessions | ||||||
maxRepoDocs
|
Long | maximum number of documents | ||||||
enabled
|
Int | Y | 1 = enabled, 0 = disabled | |||||
expire
|
String | an expiration date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
maxRepoSize
|
Long | maximum repository's size expressed in MB |
creates/updates a tenant; returns the identifier of the created/updated instance
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
tenant
|
WSTenant | Y | ||||||
id
|
Long | Y | unique identifier | |||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
name
|
String | Y | ||||||
displayName
|
String | |||||||
street
|
String | |||||||
postalCode
|
String | |||||||
city
|
String | |||||||
state
|
String | |||||||
country
|
String | |||||||
email
|
String | |||||||
telephone
|
String | |||||||
type
|
Int | Y | must be 0 | |||||
maxUsers
|
Integer | maximum number of users | ||||||
maxSessions
|
Integer | maximum number of concurrent sessions | ||||||
maxRepoDocs
|
Long | maximum number of documents | ||||||
enabled
|
Int | Y | 1 = enabled, 0 = disabled | |||||
expire
|
String | an expiration date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
maxRepoSize
|
Long | maximum repository's size expressed in MB |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
tenantId
|
Long | Y |
deletes an existing tenant
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
tenantId
|
Long | Y |
gets a specific tenant by it's identifier
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
tenantId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
tenant
|
WSTenant | Y | ||||||
id
|
Long | Y | unique identifier | |||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
name
|
String | Y | ||||||
displayName
|
String | |||||||
street
|
String | |||||||
postalCode
|
String | |||||||
city
|
String | |||||||
state
|
String | |||||||
country
|
String | |||||||
email
|
String | |||||||
telephone
|
String | |||||||
type
|
Int | Y | must be 0 | |||||
maxUsers
|
Integer | maximum number of users | ||||||
maxSessions
|
Integer | maximum number of concurrent sessions | ||||||
maxRepoDocs
|
Long | maximum number of documents | ||||||
enabled
|
Int | Y | 1 = enabled, 0 = disabled | |||||
expire
|
String | an expiration date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
maxRepoSize
|
Long | maximum repository's size expressed in MB |
gets all existing tenants
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
tenant
|
WSTenant | Y | Y | |||||
id
|
Long | Y | unique identifier | |||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
name
|
String | Y | ||||||
displayName
|
String | |||||||
street
|
String | |||||||
postalCode
|
String | |||||||
city
|
String | |||||||
state
|
String | |||||||
country
|
String | |||||||
email
|
String | |||||||
telephone
|
String | |||||||
type
|
Int | Y | must be 0 | |||||
maxUsers
|
Integer | maximum number of users | ||||||
maxSessions
|
Integer | maximum number of concurrent sessions | ||||||
maxRepoDocs
|
Long | maximum number of documents | ||||||
enabled
|
Int | Y | 1 = enabled, 0 = disabled | |||||
expire
|
String | an expiration date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
maxRepoSize
|
Long | maximum repository's size expressed in MB |