Cisco Cisco Prime Performance Manager 1.5 Developer's Guide

Page of 41
 
Cisco Prime Performance Manager1.5 REST API Guide 
5.7.27 chartName 
Table 32 - chartName Parameter (charts image reports) 
Parameter 
Notes 
chartName 
Allows users to specify a chart where there is more than one chart per report.   
 
For example, under the Resources -> Disk - > Disk Space Statistics Hourly, 
one can find 4 (four) different charts: 
Disk Space Utilization 
Disk Space Total Bytes 
Disk Space Available Bytes 
Disk Space Used Bytes 
 
In the above excample, if the chartName parameter is not provided, the first 
chart (Disk Space Utilization) is rendered. If the user wants  other charts to be 
rendered, the corresponding chart name must be provided in the chartName 
parameter 
 
Example: 
chartName=Disk+Space+Total+Bytes 
 
Additional Notes 
 
Only supported in the “GET /{reportType} /{category}../{reportName}”graph image reports requests. 
 
By default if the chartName is not provided, the first chart for that report is displayed. 
5.8 REST Parameter Rules 
The following request parameters rules are enforced by the REST API.  An error response can be returned 
if any of these rules is violated. 
 
Only parameters identified in the Query String
 table above are accepted. 
 
Parameter names and values are case sensitive. 
 
Parameter values must be properly formatted. 
 
FQDN and sgmid are mutually exclusive. 
 
sgmid must correspond to a valid node. 
 
An FQDN Node must correspond to a valid node. 
 
startDate, endDate and durationSelect are mutually exclusive. 
 
endDate must be greater than startDate. 
 
durationSelect must be greater than intervalTypeKey. 
 
showAllReports should not contain a value. 
 
showViewReport and showAllReports  are mutually exclusive. 
 
Chart parameters (e.g., height, width) are only accepted for report graphs requests 
5.9 HTTP Request Headers 
The following table showsthe supported HTTP Request headers.