Cisco Cisco Prime Performance Manager 1.7 Developer's Guide

Page of 44
 
Cisco Prime Performance Manager 1.7 REST API Guide 
        "0.0", 
        "0", 
        "0.0" 
      ] 
    ] 
  } 
}
 
6.4.3 JSON 
Table 56 - JSON Request / Response Sample – “Interface Availability” Network Level Report 
Request / Response (JSON) -  “Interface  Availability” Network Level Report 
Request – Notice, the outputType query string parameter is set “
json
GET 
/ppm/rest/reports/Availability/Interfaces/Interface++Availability?
outputType=
json
 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:18:30 GMT 
Content-Type: application/json;charset=UTF-8 
Server: Apache-Coyote/1.1 
Content-Range: pages 1/8 
Cache-Control: no-cache 
 

  "report": { 
    "reportHeaders": { 
      "reportHeader": [ 
        "Device", 
        "Interface", 
        "Timestamp", 
        "Interface Index", 
        "Interface Availability Percentage Down", 
        "Interface Availability Percentage Up", 
        "Interface Availability Percentage Timeout" 
      ] 
    }, 
    "reportData": { 
      "reportDataItems": [ 
        { 
          "reportDataItem": [ 
              "ems3825d", 
              "GigabitEthernet0/0", 
              "2012-10-05T05:00-0400", 
              "1", 
              "0.0", 
              "100.0", 
              "0.0" 
          ] 
        }, 
        {