RPC API Developer's Guide

Get Dashboards

Note that LogicMonitor does have an available REST API equivalent for this API call.

LogicMonitor's getDashboards RPC enables you to get configuration details for the dashboards in your account.

Note: As with all our API calls, authentication is required.

 

getDashboards

URL:
https://accountName.logicmonitor.com/santaba/rpc/getDashboards?c=accountName&u=user&p=password

 

All outputs will be in the format: { [status], [data], [errmsg] }, where status is the status of the response, errmsg is the error message associated with the response, and the data object includes the following:

  • id
  • name
  • description
  • sharable
  • adminId (Note that the adminId will be 0 if sharable is true)

 

Example

Request:
curl "https://apiAccount.logicmonitor.com/santaba/rpc/getDashboards?c=apiAccount&u=apiUser&p=example" 
  Response:
{
  "status": 200,
  "data": [
    {
      "widgetsOrder": "",
      "id": 41,
      "adminId": 0,
      "description": "",
      "sharable": true,
      "name": "Alert Tuning Flow Chart",
      "widgetsConfig": "{\"229\":{\"col\":1,\"row\":1,\"sizex\":3,\"sizey\":4}}",
      "folderId": 1
    },
    {
      "widgetsOrder": "",
      "id": 38,
      "adminId": 0,
      "description": "",
      "sharable": true,
      "name": "AWS Bottom Ten Dashboard",
      "widgetsConfig": "{\"214\":{\"col\":1,\"row\":3,\"sizex\":2,\"sizey\":2},\"215\":{\"col\":3,\"row\":1,\"sizex\":2,\"sizey\":2},\"216\":{\"col\":1,\"row\":1,\"sizex\":2,\"sizey\":2},\"217\":{\"col\":5,\"row\":1,\"sizex\":2,\"sizey\":2},\"218\":{\"col\":3,\"row\":3,\"sizex\":3,\"sizey\":1}}",
      "folderId": 1
    },..........
      .......... 
      ..........
     {
      "widgetsOrder": "",
      "id": 50,
      "adminId": 0,
      "description": "",
      "sharable": true,
      "name": "XYZ Co. Network Overview",
      "widgetsConfig": "",
      "folderId": 2
    }
  ],
  "errmsg": "OK"
}