v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Sites

Update the energy mix of a (charge) site

Required scope: charge-points:write </br>Organization authorization: supported

put/api/v1/sites/{siteId}/energy-mix

Path parameters

siteIdinteger required

Request body

isGreenEnergyboolean nullable

Indicates if the energy is green

supplierNamestring nullable

Name of the energy supplier

energyProductNamestring nullable

Name of the energy product

Example request

{
  "isGreenEnergy": true,
  "energySources": [
    {
      "percentage": 40
    }
  ],
  "environImpact": [
    {
      "amount": 12.5
    }
  ],
  "supplierName": "Green Energy Supplier",
  "energyProductName": "EcoPower 2025"
}

Response

Energy mix updated

is_green_energyboolean nullable

Indicates if the energy is green

supplier_namestring nullable

Name of the energy supplier

energy_product_namestring nullable

Name of the energy product

Example response

{
  "is_green_energy": true,
  "energy_sources": [
    {
      "percentage": 40
    }
  ],
  "environ_impact": [
    {
      "amount": 12.5
    }
  ],
  "supplier_name": "Green Energy Supplier",
  "energy_product_name": "EcoPower 2025"
}