Index | Method | Request(s) | Response | Description | ||||
---|---|---|---|---|---|---|---|---|
1 | storeTenant |
sid tenant |
tenantId | creates/updates a tenant; returns the identifier of the created/updated instance | ||||
2 | getTenant |
sid name |
tenant | gets a specific tenant by it's name | ||||
3 | getTenantById |
sid tenantId |
tenant | gets a specific tenant by it's identifier | ||||
4 | listTenants |
sid |
tenant | gets all existing tenants | ||||
5 | deleteTenant |
sid tenantId |
deletes an existing tenant |
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 |
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 |
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 |
deletes an existing tenant
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
tenantId
|
Long | Y |