
Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

# GET apiHealth/requestCountTrend

Reports the number of requests, grouped by day and HTTP status, for all services or a given service if specified, over the last seven days.

Since Product Version: 2.2

- Jump To

- v1
- v2
- v3
- v4

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

## Resource URL

/webacs/api/v1/op/apiHealth/requestCountTrend

## Request Parameters

Attribute | Source | Description
--- | --- | ---
service String | query | Optional The service path. If unspecified, data will be returned for all services.

## Response Parameters

Attribute | Description
--- | ---
responseCount long | The number of responses for this day and HTTP status.
responseStatus int | The HTTP status of these responses.
startOfDay long | The start of the day for this record, represented as milliseconds since the Unix epoch.

## 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://10.64.88.203/webacs/api/v1/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v1/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms" rootUrl="https://10.64.88.203/webacs/api/v1/op">
      <apiRequestCountTrend>
        <responseCount>2</responseCount>
        <responseStatus>1</responseStatus>
        <startOfDay>2</startOfDay>
      </apiRequestCountTrend>
      <apiRequestCountTrend>
        <responseCount>12</responseCount>
        <responseStatus>11</responseStatus>
        <startOfDay>12</startOfDay>
      </apiRequestCountTrend>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v1/op/apiHealth/requestCountTrend.json?service=/api/v1/data/Alarms

    {
      "mgmtResponse" : {
        "@responseType" : "operation",
        "@requestUrl" : "https : //10.64.88.203/webacs/api/v1/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms",
        "@rootUrl" : "https : //10.64.88.203/webacs/api/v1/op",
        "apiRequestCountTrend" : [{
          "responseCount" : 2,
          "responseStatus" : 1,
          "startOfDay" : 2
        },
        {
          "responseCount" : 12,
          "responseStatus" : 11,
          "startOfDay" : 12
        }]
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

## Resource URL

/webacs/api/v2/op/apiHealth/requestCountTrend

Unmodified

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

## Request Parameters

Attribute | Source | Description
--- | --- | ---
service String | query | Optional The service path. If unspecified, data will be returned for all services.

## Response Parameters

Attribute | Description
--- | ---
responseCount long | The number of responses for this day and HTTP status.
responseStatus int | The HTTP status of these responses.
startOfDay long | The start of the day for this record, represented as milliseconds since the Unix epoch.

## 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://10.64.88.203/webacs/api/v2/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v2/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms" rootUrl="https://10.64.88.203/webacs/api/v2/op">
      <apiRequestCountTrend>
        <responseCount>2</responseCount>
        <responseStatus>1</responseStatus>
        <startOfDay>2</startOfDay>
      </apiRequestCountTrend>
      <apiRequestCountTrend>
        <responseCount>12</responseCount>
        <responseStatus>11</responseStatus>
        <startOfDay>12</startOfDay>
      </apiRequestCountTrend>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v2/op/apiHealth/requestCountTrend.json?service=/api/v1/data/Alarms

    {
      "mgmtResponse" : {
        "@requestUrl" : "https://10.64.88.203/webacs/api/v2/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v2/op",
        "apiRequestCountTrend" : [ {
          "responseCount" : 2,
          "responseStatus" : 1,
          "startOfDay" : 2
        }, {
          "responseCount" : 12,
          "responseStatus" : 11,
          "startOfDay" : 12
        } ]
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

## Resource URL

/webacs/api/v3/op/apiHealth/requestCountTrend

Unmodified

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

## Request Parameters

Attribute | Source | Description
--- | --- | ---
service String | query | Optional The service path. If unspecified, data will be returned for all services.

## Response Parameters

Attribute | Description
--- | ---
responseCount long | The number of responses for this day and HTTP status.
responseStatus int | The HTTP status of these responses.
startOfDay long | The start of the day for this record, represented as milliseconds since the Unix epoch.

## 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://10.64.88.203/webacs/api/v3/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v3/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms" rootUrl="https://10.64.88.203/webacs/api/v3/op">
      <apiRequestCountTrend>
        <responseCount>2</responseCount>
        <responseStatus>1</responseStatus>
        <startOfDay>2</startOfDay>
      </apiRequestCountTrend>
      <apiRequestCountTrend>
        <responseCount>12</responseCount>
        <responseStatus>11</responseStatus>
        <startOfDay>12</startOfDay>
      </apiRequestCountTrend>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v3/op/apiHealth/requestCountTrend.json?service=/api/v1/data/Alarms

    {
      "mgmtResponse" : {
        "@requestUrl" : "https://10.64.88.203/webacs/api/v3/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v3/op",
        "apiRequestCountTrend" : [ {
          "responseCount" : 2,
          "responseStatus" : 1,
          "startOfDay" : 2
        }, {
          "responseCount" : 12,
          "responseStatus" : 11,
          "startOfDay" : 12
        } ]
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Read
HTTP Methods | GET

## Resource URL

/webacs/api/v4/op/apiHealth/requestCountTrend

Unmodified

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

## Request Parameters

Attribute | Source | Description
--- | --- | ---
service String | query | Optional The service path. If unspecified, data will be returned for all services.

## Response Parameters

Attribute | Description
--- | ---
responseCount long | The number of responses for this day and HTTP status.
responseStatus int | The HTTP status of these responses.
startOfDay long | The start of the day for this record, represented as milliseconds since the Unix epoch.

## 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://10.64.88.203/webacs/api/v4/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://10.64.88.203/webacs/api/v4/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms" rootUrl="https://10.64.88.203/webacs/api/v4/op">
      <apiRequestCountTrend>
        <responseCount>2</responseCount>
        <responseStatus>1</responseStatus>
        <startOfDay>2</startOfDay>
      </apiRequestCountTrend>
      <apiRequestCountTrend>
        <responseCount>12</responseCount>
        <responseStatus>11</responseStatus>
        <startOfDay>12</startOfDay>
      </apiRequestCountTrend>
    </mgmtResponse>

### Sample JSON Response Payload

https://10.64.88.203/webacs/api/v4/op/apiHealth/requestCountTrend.json?service=/api/v1/data/Alarms

    {
      "mgmtResponse" : {
        "@requestUrl" : "https://10.64.88.203/webacs/api/v4/op/apiHealth/requestCountTrend?service=/api/v1/data/Alarms",
        "@responseType" : "operation",
        "@rootUrl" : "https://10.64.88.203/webacs/api/v4/op",
        "apiRequestCountTrend" : [ {
          "responseCount" : 2,
          "responseStatus" : 1,
          "startOfDay" : 2
        }, {
          "responseCount" : 12,
          "responseStatus" : 11,
          "startOfDay" : 12
        } ]
      }
    }