Skip to content

cmdb.reports#

Work in Progress

cmdb.reports.read#

Display the result of a report.

Request parameters#

Key JSON data type Required Description
id String No Identifier of the Report
limit Integer No Limit displayed results
offset Integer No Start displaying results from defined offset

Response parameters#

JSON key result contains the Report result.

Example#

1
2
3
4
5
6
7
8
9
{
  "version": "2.0",
  "method": "cmdb.reports",
  "params": {
    "apikey": "xxx",
    "language": "en"
  },
  "id": 1
}
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": [
    {
      "id": "1",
      "category": "Global",
      "title": "My first Report",
      "description": "",
      "created": "2023-08-14 13:02:48"
    }
  ]
}
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "version": "2.0",
  "method": "cmdb.reports",
  "params": {
    "id": 1,
    "apikey": "xxx",
    "language": "en"
  },
  "id": 1
}
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": [
    {
      "Title": "admin "
    },
    {
      "Title": "Admin"
    },
    ....
  ]
}
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{
  "version": "2.0",
  "method": "cmdb.reports",
  "params": {
    "id": 1,
    "limit": 2,
    "offset": 2,
    "apikey": "xxx",
    "language": "en"
  },
  "id": 1
}        {
      "Title": "admin "
    },
    {
      "Title": "Admin"
    },
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": [
    {
      "Title": "admin "
    },
    {
      "Title": "Admin"
    },
  ]
}