Sample Request
curl -X GET --cookie auth_token=$cookie http://134.141.242.93/nsight-ui/api/v1/ reports_config/templates
Sample Response (200 OK)
{ "data": { "report_template_list":[ { "_id": "PCI_SYSTEM_TEMPLATE", "app": "nsight", "cb": "system", "rn": "PCI Compliance Report", "ro":[], "sh": true }, { "_id": "5bbc9e55f4dab00d5a912228", "app": "nsight", "cb": "admin", "ri": null, "rn": "12D", "ro":[ { "cf":[ { "name": "wlan", "value": "all" }, { "appgrouptype": "appGroup", "name": "appgroupapp", "value": "trend" }], "oid":"CLIENTCOUNTTrend" } ], "sh": false } ] }, "success": true }
Response Parameters
Parameter | Description | Data Type |
---|---|---|
app | The name of the application. It is always "nsight". | String |
cb | The user name. | String |
rn | The name of the report. | String |
ro | The report object | Array |
sh | Has the value true if the report is scheduled and the value false if it is not. | Boolean |
cf | Filters | Object |
oid | Object ID. | String |