Cisco Cisco Prime Performance Manager 1.7 Developer's Guide

Page of 44
 
Cisco Prime Performance Manager 1.7 REST API Guide 
sgmid=1002 
sgmid=13001 
 
Refer to your Prime Performance Manager server or network to determine 
your own sgmid values
 
Additional Notes 
 
Only supported in the “GET /{reportType}/{category}../{reportName}” requests. 
 
If an FQDN or sgmid is not provided, the REST API defaults to a top network level report. A network 
level report consists of information for the top samples in that report metric. Refer to the Prime 
Performance Manager documentation for more information about network-level reports. 
 
For consistency with the Prime Performance Manager web based application a sgmid equal to -1 means a 
network level report. However, this sgmid parameter value is not required as a network level report is 
already assumed when FQDN and sgmid are not given. 
 
Not supported by views. 
5.7.3 startDate 
Table 9 – startDate Parameter 
Parameter 
Notes 
startDate 
The start date for the reporting data. 
 
Format: 
yyyy-MM-ddTHH:mmZ 
 
where, 
yyyy:  year  (e.g. 2010, 2011, 2012…) 
MM: month in year (e.g., 1-12) 
dd: day in month (e.g. 1, 2,…,31) 
T: charater to separate date from time. 
HH: hour in day (0-23) 
mm: minute in hour (0-59) 
Z: time zone represented as follows (+/-)HHmm 
“+” to add  or “-“ to subtract the “HHmm” from the GMT time. 
 
Examples of valid formatted start date: 
startDate=2012-3-23T12:30%2B0800 
startDate=2012-12-23T2:05-0500 
  
The timezone “+” sign needs to be URL encoded to “%2B”. 
Additional Notes 
 
Only supported in the “GET /{reportType}/{category}../{reportName}” requests. 
 
The startDate/endDate and durationSelect parameters are mutually exclusive. 
 
If the startDate is not given, it will default to the calculated value based on durationSelect and 
endDate (or system time if endDate is not given). 
 
If both startDate and endDate are given, their time zone must match. For example: 
startDate is not given. 
endDate
=”2012-03-23T12:30+0800” 
duration
=”last24Hours” 
intervalTypeKey
=”HOUR” 
The startDate is 24 hours less than the endDate; that is “2012-03-22T12:30+0800” 
 
The startDate may be calculated to be a date in the future. In that case, keep in mind that no reporting 
information is available in the system for a future date. 
 
If startDate and endDate are not given, the current server time is used for the endDate. The