Index | Method | Request(s) | Response | Description | ||||
---|---|---|---|---|---|---|---|---|
1 | list |
sid |
report | lists all the reports in the tenant | ||||
2 | execute |
sid reportId parameters |
executes a given report |
lists all the reports in the tenant
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y |
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
report
|
WSReport | Y | Y |
executes a given report
Name | Type | Required | Multiple | Description | ||||
---|---|---|---|---|---|---|---|---|
sid
|
String | Y | ||||||
reportId
|
Long | Y | identifier of the report to execute | |||||
parameters
|
WSAttribute | Y | array of parameters used as report variables | |||||
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) | |||||
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 |