Руководство Разработчика для Cisco Cisco Prime Performance Manager 1.5

Скачать
Страница из 41
 
Cisco Prime Performance Manager1.5 REST API Guide 
startDate, endDate 
5.4 HTTP Verb 
The Reports REST API is read-only. It only supports the HTTP GET verb. The following table shows an 
example of a URL and corresponding GET requests to retrieve a listing of {reportType} elements in 
JSON format. Notice that jsonv2 corresponds to the newer JSON report format   
Table 4 –
 HTTP URL Report Listing Sample 
http://ppm-clean.cisco.com:4440/ppm/rest/{reportType}?outputType=jsonv2 
 
GET /ppm/rest/{reportType}?outputType=jsonv2 
5.5 Resources 
5.5.1 Report Type 
Reports within Prime Performance Masnager are grouped into the following reporting types 
{reportType}: 
Dashboards:  The dashboard provides a way to group different reports within a single page. The 
REST API path to dashboard reports is /ppm/rest/dashboards. 
Reports: Prime Performance Manager Web Reports.  The REST API path to Prime Performance 
Manager web reports is /ppm/rest/reports. 
Grouped Reports: Prime Performance Manager allows users to generate reports based on groups 
of network objects. The REST API path to grouped reports is /ppm/rest/groupreports. 
Tenant Reports: Prime Performance Manager allows this type to group reports targeted to 
specific customers. The REST API path to tenant reports is /ppm/rest/tenantreports. 
Views Reports: Prime Performance Manager allows the user to create views and copy/paste 
reports to separate views.  The REST API path to view reports is /ppm/rest/views. 
NoteWhen querying views from the REST API, the user is recommended to name that view 
uniquely to differentiate it from other views.  For example, the user might consider prepending 
the word “REST” to the view name to help identify that view as being used from the REST API; 
for example – “REST <some view name>”
 
5.5.2 Report Listing (Report Categories and Report Names) 
Prime Performance Manager reports are grouped by {category}. A category is a unique Prime 
Performance Manager  name that identifies a group of dashboard reports, network/node level web reports, 
group reports and tenant reports.  
Categories consist of subcategories that form a hierarchical path to various reports in the system. 
Categories and sub-categories are followed by a report name to identify a specific report in the system.