Cisco Cisco Prime Performance Manager 1.3 Guía Del Desarrollador
Cisco Prime Performance Manager REST API Guide
Copyright 2012 Cisco Systems
- 7 -
Table 3 – URL Parts
URL Parts
Sample Value
Description
scheme
http or https
Use https when Prime Performance Manager
SSL is enabled; otherwise, it should be http.
SSL is enabled; otherwise, it should be http.
Host
For example: “ppm-clean.cisco.com”
Note: use your own domain name
above.
above.
The host name assigned to the Prime
Performance Manager gateway server
Performance Manager gateway server
Port
For example: 4440
HTTP port number assigned to the Prime
Performance Manager gateway server. Note
that the same port number may be used when
Prime Performance Manager is running in
SSL enabled mode.
Performance Manager gateway server. Note
that the same port number may be used when
Prime Performance Manager is running in
SSL enabled mode.
Path prefix
/ppm/rest/
All the REST API paths must be prefixed with
this value. This is the entry point to the REST
API.
this value. This is the entry point to the REST
API.
Report Type
(node or network)
/reports
This sub-path is used to identify network or
node level reports
node level reports
Report Type
(group)
/groupreports
This sub-path is used to identify group related
reports.
reports.
Resources
/{category}..
/{category}../{reportName}
A collection resource containing a listing of all
report category, sub-categories and
corresponding report names URIs in the
system.
report category, sub-categories and
corresponding report names URIs in the
system.
A document resource containing the report
information (data) itself which can be filtered
using query string parameters.
information (data) itself which can be filtered
using query string parameters.
Parameters
outputType, FQDN,sgmid, startDate,
endDate, chartName, durationSelect,
…
endDate, chartName, durationSelect,
…
Refer to Query String Parameters
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 request to retrieve a list of reports elements in JSON format:
example of a URL and corresponding GET request to retrieve a list of reports elements in JSON format:
Table 4 –
HTTP URL Report Listing Sample
http://ppm-clean.cisco.com:4440/ppm/rest/reports?outputType=json
or
http://ppm-clean.cisco.com:4440/ppm/rest/groupreports?outputType=json
GET /ppm/rest/reports?outputType=json