BellaDati Technical Documentation : GET KPI View

/api/reports/views/:id/kpi

This method returns data and metadata of specified KPI view.

Resource Information

Parameters

Parameters

Detail

id

ID of the KPI view. This ID is a part of the /api/reports/:id response.
Example: 1234

filter

Filter used in the KPI.

dateTimeDefinition

Date time definition used in the KPI.

Sample request/response

Using curl:

curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports/views/88738/kpi

The JSON format response:

{
  "values": [
    {
      "numberValue": "86 %",
      "caption": "Success Rate"
    }
  ]
}