Cisco Cisco Prime Performance Manager 1.7 Developer's Guide

Page of 44
 
Cisco Prime Performance Manager 1.7 REST API Guide 
          "reportDataItem": [ 
              "ems3825j", 
              "GigabitEthernet0/0", 
              "2012-10-05T05:00-0400", 
              "1", 
              "0.0", 
              "100.0", 
              "0.0" 
          ] 
        }, 
. . . . 
. . . . 
        { 
          "reportDataItem": [ 
              "SimLab-30.4.1.90", 
              "My_ifAlias_string-GigabitEthernet0'1", 
              "2012-10-05T12:00-0400", 
              "3", 
              "0.0", 
              "100.0", 
              "0.0" 
          ] 
        } 
      ] 
    } 
  } 
}
 
6.4.4 XML 
Table 57 – XML Request / Response Sample - “Interface Availability” Network Level Report 
Request / Response (XML) -  “Interface  Availability” Network Level Report 
Request – Notice, the outputType query string parameter is set “
xml
GET 
/ppm/rest/reports/Availability/Interfaces/Interface++Availability?
outputType=
xml
 HTTP/1.1 
Host: ppm-clean.cisco.com:4440 
Connection: Keep-Alive 
User-Agent: RestClient-Tool 
Response 
HTTP/1.1 206 Partial Content 
Transfer-Encoding: chunked 
Date: Fri, 05 Oct 2012 21:15:12 GMT 
Content-Type: application/xml;charset=UTF-8 
Server: Apache-Coyote/1.1 
Content-Range: pages 1/8 
Cache-Control: no-cache 
 
<?xml version="1.0" encoding="UTF-8"?> 
<report xmlns:ppm="http://cisco.com/ppm"> 
    <reportHeaders> 
        <reportHeader>Device</reportHeader> 
        <reportHeader>Interface</reportHeader> 
        <reportHeader>Timestamp</reportHeader> 
        <reportHeader>Interface Index</reportHeader>