| Index | Method | Request(s) | Response | Description | ||||
|---|---|---|---|---|---|---|---|---|
| 1 | listAttributeSets |
sid |
attributeSet | lists all the attribute sets | ||||
| 2 | deleteAttributeSet |
sid setId |
deletes an existing attribute set | |||||
| 3 | getAttributeSetById |
sid setId |
attributeSet | gets an attribute set by it's identifier | ||||
| 4 | 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 | ||||
| 5 | setAttributeOptions |
sid setId attribute values |
saves the options for the given attribute | |||||
| 6 | getAttributeOptions |
sid setId attribute |
retrieves the options for the given attribute | |||||
| 7 | 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 | ||||
| 8 | listTemplates |
sid |
template | lists all the templates | ||||
| 9 | getTemplate |
sid name |
template | gets an existing template by it's name | ||||
| 10 | deleteTemplate |
sid templateId |
deletes an existing template | |||||
| 11 | getTemplateById |
sid templateId |
template | gets an existing template by it's identifier | ||||
| 12 | getAttributeSet |
sid name |
attributeSet | gets an attribute set by it's name |
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 | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |
deletes an existing attribute set
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
sid
|
String | Y | ||||||
|
setId
|
Long | 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 | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |
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 | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
setId
|
Long | Y |
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 |
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 | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
templateId
|
Long | Y |
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 | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |
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 | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |
deletes an existing template
| Name | Type | Required | Multiple | Description | ||||
|---|---|---|---|---|---|---|---|---|
|
sid
|
String | Y | ||||||
|
templateId
|
Long | 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') | ||||||
|
attributes
|
WSAttribute | Y | ||||||
|
name
|
String | Y | name of the attribute | |||||
|
stringValue
|
String | |||||||
|
intValue
|
Long | |||||||
|
doubleValue
|
Double | |||||||
|
dateValue
|
String | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |
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 | |||||||
|
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) | |||||
|
mandatory
|
Int | Y | ||||||
|
position
|
Int | |||||||
|
label
|
String | |||||||
|
editor
|
Int | Y | 0 = free, 1 = preset | |||||
|
setId
|
Long | Id of the attribute set |