Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET ApiHealthRecords

Represents API performance and diagnostic information.

Since Product Version: 2.2

Resource Information

Rate Limiting?

Yes

Sorting?

Yes

Paging?

Yes

Filtering?

Yes

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

DevNet Discussions

Resource URL

/webacs/api/v2/data/ApiHealthRecords

Unmodified

This resource has not been modified since the previous API version.

Response Parameters

Attribute Description

clientIp InetAddress

The requestor's IP address.

method String

HTTP method used for the request.

path String

The path component of the URL for the request.

query String

The query string from the request, if any.

requestAcceptHeader String

Content of the request Accept header, if present.

requestReceivedTime long

The time the request was received, as milliseconds from the Unix epoch.

responseSentTime long

The time the response was sent, as milliseconds from the Unix epoch.

responseStatus int

HTTP response status.

responseTime long

Total time from received to sent, measured in milliseconds.

userAgent String

The user agent reported.

username String

The username of the requestor.

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Payload

https://localhost/webacs/api/v2/data/ApiHealthRecords/15

<?xml version="1.0" ?>
<queryResponse type="ApiHealthRecords" responseType="getEntity" requestUrl="https://localhost/webacs/api/v2/data/ApiHealthRecords/15" rootUrl="https://localhost/webacs/api/v2/data">
  <entity dtoType="apiHealthRecordsDTO" type="ApiHealthRecords" url="https://localhost/webacs/api/v2/data/ApiHealthRecords/15">
    <apiHealthRecordsDTO displayName="String value" id="15" uuid="String value">
      <clientIp>
        <address>192.168.115.243</address>
      </clientIp>
      <method>String value</method>
      <path>String value</path>
      <query>String value</query>
      <requestAcceptHeader>String value</requestAcceptHeader>
      <requestReceivedTime>2</requestReceivedTime>
      <responseSentTime>2</responseSentTime>
      <responseStatus>1</responseStatus>
      <responseTime>2</responseTime>
      <userAgent>String value</userAgent>
      <username>String value</username>
    </apiHealthRecordsDTO>
  </entity>
</queryResponse>

Sample JSON Payload

https://localhost/webacs/api/v2/data/ApiHealthRecords/15.json

{
  "queryResponse" : {
    "@type" : "ApiHealthRecords",
    "@requestUrl" : "https://localhost/webacs/api/v2/data/ApiHealthRecords/15",
    "@responseType" : "getEntity",
    "@rootUrl" : "https://localhost/webacs/api/v2/data",
    "entity" : [ {
      "@dtoType" : "apiHealthRecordsDTO",
      "@type" : "ApiHealthRecords",
      "@url" : "https://localhost/webacs/api/v2/data/ApiHealthRecords/15",
      "apiHealthRecordsDTO" : {
        "@displayName" : "String value",
        "@id" : 15,
        "@uuid" : "String value",
        "clientIp" : {
          "address" : "192.168.115.243"
        },
        "method" : "String value",
        "path" : "String value",
        "query" : "String value",
        "requestAcceptHeader" : "String value",
        "requestReceivedTime" : 2,
        "responseSentTime" : 2,
        "responseStatus" : 1,
        "responseTime" : 2,
        "userAgent" : "String value",
        "username" : "String value"
      }
    } ]
  }
}