• Register

Thermoelectric Capacity

[GET] https://api.terna.it/generation/v2.0/thermoelectric-capacity

Authorization  OAuth 2.0

Request Header

API field Type Description Format Card Example
businessID string 0..1
Authorization string OAuth Token 1..1 Bearer   <token>
Accept string 0..1 Application/Json

Query Params

API field Type Description Format Card Example
region string Region to be extracted 0..1 Friuli-Venezia Giulia
province string Provinces to be extracted 0..n Udine
capacityType string Capacity type to be extracted 0..1 Lorda
category string Category to be extracted 0..1 Non cogenerative
subcategory string Subcategory to be extracted 0..1 Celle combustibili
year string Year to be extracted integer 1..1 2022

Capacity Type List

Capacity type is to be chosen as an element of the set [ 'Lorda', 'Netta']

Category List

Category is to be chosen as an element of the set [ 'Non cogenerativa', 'Cogenerativa' ]

Subategory List

Subcategory is to be chosen as an element of the set

  • Non cogenerativa: [ 'Altro genere', 'Celle combustibili', 'Ciclo combinato', 'Combustione interna', 'Condensazione', 'Geotermoelettrica A Condensazione', 'Ripotenziato', 'Turbine a gas', 'Turbo espansione' ]
  • Cogenerativa: [ 'Celle combustibili con cogenerazione', 'Ciclo combinato con cogenerazione', 'Combustione interna con cogenerazione', 'Condensazione e spillamento', 'Contropressione', 'Turbine a gas con cogenerazione' ]

IMPORTANT NOTE : when the value entered does not match one of the expected values, an error will not be returned, but an empty body will be returned.

Response Structure 200

API field Type Description Format Card Example
result Obj Result
1..1 "result":{..}
.message string
 1..1 "OK"
.status string
 1..1 "Completed"
thermoelectric array 0..n "thermoelectric":[{..}]
.year string integer 1..1 "2022"
.capacity_type string 1..1 "Lorda"
.region string 1..1 "Friuli-Venezia Giulia"
.province string 1..1 "Udine"
.category string 1..1 "Non cogenerative"
.subcategory string 1..1 "Celle combustibili"
.efficient_power_MW string number 1..1 "0,002"

Example

cURL Request

curl --location --request GET https://api.terna.it/generation/v2.0/thermoelectric-capacity?year=<year>®ion=<region> 
        --header 'Authorization:Bearer <OAuth Token>'
    

Response


{
    "result": {
        "message": "string",
        "status": "string"
    },
    "thermoelectric": [
        {
          "year": "string",
          "capacity_type": "string",
          "region": "string",
          "province": "string",
          "category": "string",
          "subcategory": "string",
          "efficient_power_MW": "string"
        }
    ]
}