Cisco Cisco Prime Performance Manager 1.3 Guida Dello Sviluppatore

Pagina di 29
 
Cisco Prime Performance Manager REST API Guide 
Copyright 2012 Cisco Systems 
- 10 - 
Refer to your Prime Performance Manager server or network to determine your own 
FQDN values. 
Additional Notes 
1)  Only supported for the “GET /reports/{category}../{reportName}”or “GET /groupreports/{category}” 
requests. 
2)  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.  
3)  Refer to the Prime Performance Manager documentation for more information about network level reports. 
5.7.2 sgmid 
Table 8 – sgmid Parameter 
Parameter 
Notes 
sgmid 
A positive integer number that uniquely identifies a node in the Prime Performance 
Manager server 
 
Format: 
Positive integer number greater than 0 (eg. 1002, 13001, ..).  
-1 is also accepted, and it is optional. See note (3) below.  
 
Examples of valid formatted sgmid: 
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 /reports/{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 an “sgmid” equal to -1means 
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. 
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  (eg. 2010, 2011, 2012…) 
MM: month in year (eg, 1-12) 
dd: day in month (eg. 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.