GET api/indicators?typeId={typeId}

Retrieves the available indicators in the data source.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
typeId

ID of the indicator type. If omitted or default, it retrieves all the available indicators.

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of Indicator
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Unit

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 6,
    "Name": "Total electricity consumption per capita",
    "Unit": "[MWh/10³ inhab.]"
  },
  {
    "Id": 2063,
    "Name": "Emissions per capita",
    "Unit": "[t/10³ inhab.]"
  }
]