GET api/indicators/{indicatorId}
Retrieves information from the data source.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| indicatorId |
ID of the indicator |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Indicators.Content| Name | Description | Type | Additional information |
|---|---|---|---|
| Indicator | Indicator |
None. |
|
| Times | Collection of Time |
None. |
|
| InformationUnits | Collection of InformationUnit |
None. |
|
| Data | Collection of Indicators.Data |
None. |
Response Formats
application/json, text/json
Sample:
{
"Indicator": {
"Id": 6,
"Name": "Total electricity consumption per capita",
"Unit": "[MWh/10³ inhab.]"
},
"Times": [
{
"Id": 202400,
"Name": "2024"
}
],
"InformationUnits": [
{
"Id": -8,
"Name": "Latin America and Caribbean"
},
{
"Id": 1,
"Name": "Ecuador"
}
],
"Data": [
{
"TimeId": 202400,
"InformationUnitId": -8,
"Value": 2333.52405032109
},
{
"TimeId": 202400,
"InformationUnitId": 1,
"Value": 1595.4769094960673
}
]
}