Index | Method | Request(s) | Response | Description | ||||
---|---|---|---|---|---|---|---|---|
1 | isReadable |
sid templateId |
tests if a template is readable | |||||
2 | isWritable |
sid templateId |
tests if a template is writable | |||||
3 | getTemplateById |
sid templateId |
template | gets an existing template by it's identifier | ||||
4 | listAttributeSets |
sid |
attributeSet | lists all the attribute sets | ||||
5 | addAttributeOption |
sid setId attribute option |
Adds a new option for the given attribute | |||||
6 | listTemplates |
sid |
template | lists all the templates | ||||
7 | deleteAttributeSet |
sid setId |
deletes an existing attribute set | |||||
8 | getTemplate |
sid name |
template | gets an existing template by it's name | ||||
9 | 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 | ||||
10 | 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 | ||||
11 | getAttributeSet |
sid name |
attributeSet | gets an attribute set by it's name | ||||
12 | deleteTemplate |
sid templateId |
deletes an existing template | |||||
13 | getAccessControlList |
sid templateId |
retrieves the access control list | |||||
14 | setAccessControlList |
sid templateId acl |
sets the Access Control List | |||||
15 | getAttributeOptions |
sid setId attribute |
retrieves the options for the given attribute | |||||
16 | getAttributeSetById |
sid setId |
attributeSet | gets an attribute set by it's identifier | ||||
17 | setAttributeOptions |
sid setId attribute options |
saves the options for the given attribute | |||||
18 | getAttributeOptionsByCategory |
sid setId attribute category |
retrieves the options for the given attribute inside a given category |
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 |
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 |
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') | ||||||
validation
|
String | |||||||
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
Adds a new option for the given attribute
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y | ||||||
attribute
|
String | Y | ||||||
option
|
WSAttributeOption | Y | ||||||
serialVersionUID
|
Long | Y | ||||||
value
|
String | Y | the value | |||||
category
|
String | the category |
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') | ||||||
validation
|
String | |||||||
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
deletes an existing attribute set
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y |
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') | ||||||
validation
|
String | |||||||
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
setId
|
Long | Y |
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') | ||||||
validation
|
String | |||||||
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
templateId
|
Long | Y |
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
deletes an existing template
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
templateId
|
Long | Y |
retrieves the access control list
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
WSAccessControlEntry | Y | Y | |||||
groupId
|
Long | Y | unique identifier of a group | |||||
userId
|
Long | Y | unique identifier of a user | |||||
read
|
Int | Y | permission to read | |||||
preview
|
Int | Y | permission to preview | |||||
write
|
Int | Y | permission to edit | |||||
download
|
Int | Y | permission to download | |||||
add
|
Int | Y | permission to add child elements | |||||
security
|
Int | Y | permission to change security policies | |||||
delete
|
Int | Y | permission to delete | |||||
rename
|
Int | Y | permission to rename | |||||
immutable
|
Int | Y | permission to mark a document as immutable | |||||
iimport
|
Int | Y | permission to import | |||||
export
|
Int | Y | permission to export | |||||
sign
|
Int | Y | permission to digitally sign | |||||
archive
|
Int | Y | permission to archive | |||||
workflow
|
Int | Y | permission to handle the workflow | |||||
calendar
|
Int | Y | permission to handle calendar events | |||||
subscription
|
Int | Y | permission to handle events subscription | |||||
password
|
Int | Y | permission to put a password | |||||
print
|
Int | Y | permission to print | |||||
move
|
Int | Y | permission to move | |||||
email
|
Int | Y | permission to send emails | |||||
automation
|
Int | Y | permission to handle the automation | |||||
store
|
Int | Y | permission to handle the store | |||||
readingreq
|
Int | Y | permission to send reading requests | |||||
customid
|
Int | Y | permission to edit the Custom ID |
sets the Access Control List
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | identifier of the session | |||||
templateId
|
Long | Y | ||||||
acl
|
WSAccessControlEntry | Y | Y | the complete Access Control List | ||||
groupId
|
Long | Y | unique identifier of a group | |||||
userId
|
Long | Y | unique identifier of a user | |||||
read
|
Int | Y | permission to read | |||||
preview
|
Int | Y | permission to preview | |||||
write
|
Int | Y | permission to edit | |||||
download
|
Int | Y | permission to download | |||||
add
|
Int | Y | permission to add child elements | |||||
security
|
Int | Y | permission to change security policies | |||||
delete
|
Int | Y | permission to delete | |||||
rename
|
Int | Y | permission to rename | |||||
immutable
|
Int | Y | permission to mark a document as immutable | |||||
iimport
|
Int | Y | permission to import | |||||
export
|
Int | Y | permission to export | |||||
sign
|
Int | Y | permission to digitally sign | |||||
archive
|
Int | Y | permission to archive | |||||
workflow
|
Int | Y | permission to handle the workflow | |||||
calendar
|
Int | Y | permission to handle calendar events | |||||
subscription
|
Int | Y | permission to handle events subscription | |||||
password
|
Int | Y | permission to put a password | |||||
print
|
Int | Y | permission to print | |||||
move
|
Int | Y | permission to move | |||||
email
|
Int | Y | permission to send emails | |||||
automation
|
Int | Y | permission to handle the automation | |||||
store
|
Int | Y | permission to handle the store | |||||
readingreq
|
Int | Y | permission to send reading requests | |||||
customid
|
Int | Y | permission to edit the Custom ID |
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 |
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, 7 = document (intValue represents the document's id), 8 = section | |||||
mandatory
|
Int | Y | ||||||
hidden
|
Int | Y | ||||||
readonly
|
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 | ||||||
dependsOn
|
String | Name of another attribute on which the value of this attribute also depends, used for managing linked presets | ||||||
stringValues
|
String | Read only. In case of multiple string values, contains the values separated by a comma | ||||||
validation
|
String | Optional validation script | ||||||
initialization
|
String | Optional initialization script |
saves the options for the given attribute
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y | ||||||
attribute
|
String | Y | ||||||
options
|
WSAttributeOption | Y | Y | |||||
serialVersionUID
|
Long | Y | ||||||
value
|
String | Y | the value | |||||
category
|
String | the category |
retrieves the options for the given attribute inside a given category
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
setId
|
Long | Y | ||||||
attribute
|
String | Y | ||||||
category
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
|
WSAttributeOption | Y | Y | |||||
serialVersionUID
|
Long | Y | ||||||
value
|
String | Y | the value | |||||
category
|
String | the category |