Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Request path

POST [REST URL]/usagestatistics/get

Query Parameters

Parameter

Type

Description

fromDate

Datetime type


toDate

Datetime type


Response Parameters

Parameter

Type

Description

fromDate

Datetime type

from request

toDate

Datetime type

from request

KPI object


name, description, unit, value

Notes:

fromDate and toDate can have a range of 3 years maximum with a minimum interval of "month". "day" interval work for a range (toDate-fromDate) within 1 month from current date. "month" interval works for a range (toDate-fromDate) outside of the last month from the current date.

Request Body Type

list of Attribute arguments

Example bodies

Code Block
{
  "name": "totalnoofapi2.0callsresponsesize_/usagestatistics/get",
  "description": "Total no. of API 2.0 response sizes sent per method",
  "unit": "MB",
  "counters": [
     {
        "timestamp": "2020-08-01",
        "value": "0,11"
     },
     {
        "timestamp": "2020-08-02",
        "value": "0,11"
     }
     ]
}