Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

{
  "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"
     }
     ]
}
  • No labels