Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET apiHealth/responseTimeTrend

For each request over the last 24 hours, shows the response time and the time the request was received, either for all services or for the specified service.

Since Product Version: 2.2

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

DevNet Discussions

Resource URL

/webacs/api/v1/op/apiHealth/responseTimeTrend

Request Parameters

Attribute Source Description

service String

query

OptionalThe service path. If unspecified, data will be returned for all services.

Response Parameters

Attribute Description

requestReceivedTime long

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

responseTime long

Total time from received to sent, measured in milliseconds.

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 Response Payload

https://localhost/webacs/api/v1/op/apiHealth/responseTimeTrend

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v1/op/apiHealth/responseTimeTrend" rootUrl="https://localhost/webacs/api/v1/op">
  <apiResponseTimeTrend>
    <requestReceivedTime>2</requestReceivedTime>
    <responseTime>2</responseTime>
  </apiResponseTimeTrend>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v1/op/apiHealth/responseTimeTrend.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op\/apiHealth\/responseTimeTrend",
    "@rootUrl" : "https : \/\/localhost\/webacs\/api\/v1\/op",
    "apiResponseTimeTrend" : {
      "requestReceivedTime" : 2,
      "responseTime" : 2
    }
  }
}