Cisco Cisco Prime Performance Manager 1.7 Guía Del Desarrollador
Cisco Prime Performance Manager 1.7 REST API Guide
6.1
GET Report Listing .......................................................................................................... 32
6.2
Report Listing Samples .................................................................................................... 32
6.2.1
CSV ............................................................................................................................ 32
6.2.2
JSONv2 ...................................................................................................................... 33
6.2.3
JSON .......................................................................................................................... 33
6.2.4
XML ........................................................................................................................... 34
6.3
GET Report ...................................................................................................................... 36
6.4
Report Samples ................................................................................................................. 36
6.4.1
CSV ............................................................................................................................ 36
6.4.2
JSONv2 ...................................................................................................................... 37
6.4.3
JSON .......................................................................................................................... 39
6.4.4
XML ........................................................................................................................... 40
7
Pagination ............................................................................................................................... 41
8
References ............................................................................................................................... 42
9
Glossary .................................................................................................................................. 42
1 Purpose
This document describes the Cisco Prime Performance Manager Representational State Transfer (REST)
API used to retrieve network/node level, dashboard and aggregated group reporting data from the Prime
Performance Manager. The REST API is implemented as a web service front-end component on the
Prime Performance Manager gateway. The API allows applications to retrieve performance data from the
gateway using HTTP(s) GET requests using the URIs (Uniform Resource Identifier) specified in this
document.
API used to retrieve network/node level, dashboard and aggregated group reporting data from the Prime
Performance Manager. The REST API is implemented as a web service front-end component on the
Prime Performance Manager gateway. The API allows applications to retrieve performance data from the
gateway using HTTP(s) GET requests using the URIs (Uniform Resource Identifier) specified in this
document.
The data provided by the REST API can be in text format as XML (eXtensible Markup Language), JSON
(JavaScript Object Notation), CSV (Comma Separated Value), image format as PNG (Portable Network
Graphics), JPEG (Joint Photographic Experts Group), or PDF (Portable Document Format).
(JavaScript Object Notation), CSV (Comma Separated Value), image format as PNG (Portable Network
Graphics), JPEG (Joint Photographic Experts Group), or PDF (Portable Document Format).
The report response format is chosen based on the request HTTP Accept Header or the value of the
outputType query string parameter. If no specific data type is provided in either the HTTP Accept
Header or in the outputType query string, the reporting data returned from the REST API defaults to
the CSV text format.
outputType query string parameter. If no specific data type is provided in either the HTTP Accept
Header or in the outputType query string, the reporting data returned from the REST API defaults to
the CSV text format.
2 Assumptions
2.1 Audience
This document is intended for developers who wish to implement the network management RESTful
client to consume performance reporting data from the Prime Performance Manager application. The
audience is assumed to be familiar with RESTful web services and the HTTP protocol.
client to consume performance reporting data from the Prime Performance Manager application. The
audience is assumed to be familiar with RESTful web services and the HTTP protocol.