Attribute |
type |
values |
default |
mandate |
comment |
Name |
String |
|
|
True |
|
Description |
string |
|
|
False |
|
MetaData |
String |
|
|
|
|
version |
String |
|
|
|
|
UUID |
String |
|
|
|
|
dualshieldVersion |
String |
>=5.3 |
|
|
|
\{ "options": \{ "logic":true \}, \\ "query": \[ \{ "name":"domainName", "type":"STRING", "displayName":"Domain Name", "group":"Parameters", "operators":\[\['equals','='\],\['greater than','>'\]\], "defaultValue":"abc", "values": \['parkoffice.com','dmc'\], required:true, blank:false \}, \\ ... \], "output": \[ \{ "name": "format", "type":"ENUM", "displayName":"Format", "defaultValue":"PDF", required:true, blank:false \\ values: \[ \{"value": "PDF", "description":"PDF"\}, \{"value": "RTF", "description":"RTF"\} \] \}, \\ \{"name": "id", "type":"BOOLEAN", "displayName":"ID", "group":"Output Columns"\}, \{"name": "domain", "type":"BOOLEAN", "displayName":"Domain", "group":"Output Columns"\}, … \{"name": "idWidth", "type":"INTEGER", "displayName":"ID", "group":" Column Width"\}, \{"name": "domainWidth", "type":" INTEGER", "displayName":"Domain", "group":" Column Width"\}, ... \] \} \\ \\ |
Method:/reportTemplate/search Parameters: \{ "match": \{ \["id","=", "tid"\] \}, "return":\["id", "name"\], \} \\ Response: \{ "error":0, "result": \{ total:2, rows: \[ \{"id":1,"name":"xxx"\}, \{"id":2,"name":"yyy"\} \] \} \} \\ |
Method:/reportTemplate/get Parameters: \{ "match": \{ \["id","=", "tid"\] \}, "return":\["id", "name"\], \} \\ Response: \{ "error":0, "result": \{ "id":1,"name":"xxx" \} \} \\ \\ |
Method:/reportTemplate/import
Request:
{
"data":"moduleBinaryDataInBase64"
}