Anchor | ||||
---|---|---|---|---|
|
Attribute | type | values | default | mandate | comment |
report | Object |
|
|
|
|
metaData | String |
|
|
| read only |
queryParams | String |
|
|
| In JSON format |
outputParams | String |
|
|
| In JSON format |
sortParams | String |
|
|
| In JSON format |
status | ENUM | RUNNING, |
|
| read only |
resultCode | String |
|
|
| read only |
resultDescription | String |
|
|
| read only |
dateStarted | Date |
|
|
| read only |
dateCompleted | Date |
|
|
| read only |
availableFormats | ENUM | PDF, |
|
| read only |
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/reportResult/search Parameters: \{ "match": \{ \["id","=", "tid"\] \}, "return":\["id", "report.name"\] \} \\ Response: \{ "error":0, "result": \{ total:2, rows: \[ \{"id":1,"report.name":"xxx"\}, \{"id":2,"report.name":"yyy"\} \] \} \} \\ |
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/reportResult/get Parameters: \{ "match": \{ \["id","=", "tid"\] \}, "return":\["id", "report.name"\] \} \\ Response: \{ "error":0, "result": \{ "id":1,"report.name":"xxx" \} \} \\ |
Anchor | ||||
---|---|---|---|---|
|
Method:/reportResult/delete
Parameters:
{
"id":"report result id"
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Method:/reportResult/export
Parameters:
{
"id":"report result id",
"output":{"format":"PDF"} // optional
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Method:/reportResult/cancel
Parameters:
{
"id":"report result id"
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Method:/reportResult/pause
Parameters:
{
"id":"report result id"
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Method:/reportResult/resume
Parameters:
{
"id":"report result id"
}
Response:
{
"error":0
}