Index | Method | Request(s) | Response | Description | ||||
---|---|---|---|---|---|---|---|---|
1 | getAttributeSetById |
sid setId |
attributeSet | gets an attribute set by it's identifier | ||||
2 | setAttributeOptions |
sid setId attribute values |
saves the options for the given attribute | |||||
3 | getAttributeOptions |
sid setId attribute |
retrieves the options for the given attribute | |||||
4 | grantUserToTemplate |
sid templateId userId permissions |
grants user permission to the template | |||||
5 | grantGroupToTemplate |
sid templateId groupId permissions |
grants group permission to the template | |||||
6 | listTemplates |
sid |
template | lists all the templates | ||||
7 | getGrantedGroups |
sid templateId |
retrieves the list of granted groups for the given folder | |||||
8 | getGrantedUsers |
sid templateId |
retrieves the list of granted users for the given folder | |||||
9 | getTemplate |
sid name |
template | gets an existing template by it's name | ||||
10 | getTemplateById |
sid templateId |
template | gets an existing template by it's identifier | ||||
11 | storeTemplate |
sid template |
templateId | creates/updates a template; you can completely customize the template through a value object; returns the identifier of the created/updated template | ||||
12 | deleteTemplate |
sid templateId |
deletes an existing template | |||||
13 | listAttributeSets |
sid |
attributeSet | lists all the attribute sets | ||||
14 | getAttributeSet |
sid name |
attributeSet | gets an attribute set by it's name | ||||
15 | storeAttributeSet |
sid attributeSet |
setId | creates/updates an attribute set; you can completely customize the set through a value object; returns the identifier of the created/updated set | ||||
16 | isTemplateWritable |
sid templateId |
tests if a template is writable | |||||
17 | deleteAttributeSet |
sid setId |
deletes an existing attribute set | |||||
18 | isTemplateReadable |
sid templateId |
tests if a template is readable |
gets an attribute set by it's identifier
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
attributeSet
|
WSAttributeSet | Y | ||||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
saves the options for the given attribute
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y | ||||||
attribute
|
String | Y | ||||||
values
|
String | Y | Y |
retrieves the options for the given attribute
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y | ||||||
attribute
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
String | Y | Y |
grants user permission to the template
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y | ||||||
userId
|
Long | Y | ||||||
permissions
|
Int | Y | the permission integer representation; if '0', the user will be not granted to access the template |
grants group permission to the template
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y | ||||||
groupId
|
Long | Y | ||||||
permissions
|
Int | Y | the permission integer representation; if '0', the group will be not granted to access the template |
lists all the templates
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
template
|
WSTemplate | Y | Y | |||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | Y | ||||||
docsCount
|
Int | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
retrieves the list of granted groups for the given folder
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
WSRight | Y | Y | |||||
id
|
Long | Y | unique identifier of a user or a group | |||||
permissions
|
Int | Y |
permissions mask. this is an integer representation of a list of 17 bits. Each bit refers to a permission: 0 to deny, 1 to grant the permission. This list represent the bit array starting from left to right:
Here are two examples: A) if you want to assign to a user the permissions Read, Write, Immutable, Rename, Sign, Download, the 'permissions' value must be 2215, in fact it is 000000000100010100111 in binary representation. B) if you want to assign to a group the permissions Read, Write, Add, Security, Import, Archive, Workflow, the 'permissions' value must be 6421, in fact it is 000000001100100010101 in binary representation. |
retrieves the list of granted users for the given folder
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
WSRight | Y | Y | |||||
id
|
Long | Y | unique identifier of a user or a group | |||||
permissions
|
Int | Y |
permissions mask. this is an integer representation of a list of 17 bits. Each bit refers to a permission: 0 to deny, 1 to grant the permission. This list represent the bit array starting from left to right:
Here are two examples: A) if you want to assign to a user the permissions Read, Write, Immutable, Rename, Sign, Download, the 'permissions' value must be 2215, in fact it is 000000000100010100111 in binary representation. B) if you want to assign to a group the permissions Read, Write, Add, Security, Import, Archive, Workflow, the 'permissions' value must be 6421, in fact it is 000000001100100010101 in binary representation. |
gets an existing template by it's name
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
template
|
WSTemplate | Y | ||||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | Y | ||||||
docsCount
|
Int | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
gets an existing template by it's identifier
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
templateId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
template
|
WSTemplate | Y | ||||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | Y | ||||||
docsCount
|
Int | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
creates/updates a template; you can completely customize the template through a value object; returns the identifier of the created/updated template
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
template
|
WSTemplate | Y | ||||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | Y | ||||||
docsCount
|
Int | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
templateId
|
Long | Y |
deletes an existing template
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
templateId
|
Long | Y |
lists all the attribute sets
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
attributeSet
|
WSAttributeSet | Y | Y | |||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
gets an attribute set by it's name
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
name
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
attributeSet
|
WSAttributeSet | Y | ||||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
creates/updates an attribute set; you can completely customize the set through a value object; returns the identifier of the created/updated set
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
attributeSet
|
WSAttributeSet | Y | ||||||
id
|
Long | Y | unique identifier | |||||
name
|
String | Y | ||||||
description
|
String | |||||||
lastModified
|
String | the last modified date (format must be 'yyyy-MM-dd HH:mm:ss' or 'yyyy-MM-dd') | ||||||
attributes
|
WSAttribute | Y | ||||||
name
|
String | Y | name of the attribute | |||||
stringValue
|
String | |||||||
intValue
|
Long | |||||||
doubleValue
|
Double | |||||||
dateValue
|
String | the date value; format must be 'yyyy-MM-dd' | ||||||
type
|
Int | Y | 0 = String, 1 = int, 2 = double, 3 = date, 4 = user (intValue represents the user's id), 5 = boolean (intValue must be 0 or 1), 6 = folder (intValue represents the folders's id) | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
position
|
Int | |||||||
label
|
String | |||||||
editor
|
Int | Y | 0 = free, 1 = preset | |||||
setId
|
Long | Id of the attribute set | ||||||
multiple
|
Int | Y | 0 = single value, 1 = one or more values | |||||
parent
|
String | The reference attribute name, used for multi value attributes | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
setId
|
Long | Y |
tests if a template is writable
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
Boolean | Y |
deletes an existing attribute set
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y |
tests if a template is readable
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
Boolean | Y |