v1

latestOpenAPI 3.0.02026-07-241010520.6 KB
Consumption Profiles

Update Consumption Profile

Update the existing consumption profile for a project.


This request accepts only one of the following values for each request.

  • monthly_energy: An array of exactly 12 monthly energy values in kWh. Null values are allowed and represented as "null".

  • monthly_bill: An array of exactly 12 monthly bill values in USD. Null values are allowed and represented as "null".

  • interval_data: An array of exactly (8760, 8784, 17520, 17568, 35040, or 35136) energy values in kWh. Null values are allowed and represented as "null".

    • The array must contain at least 1 complete month of contiguous non-null values.
    • The first array value must correspond to the first interval of the year beginning at 1 January 00:00.
put/tenants/{tenant_id}/projects/{id}/consumption_profile

Path parameters

tenant_idstring uuid required

The ID of the tenant that the project is part of.

idstring uuid required

The ID of the project to update the consumption profile for.

Request body

Example request

{
  "consumption_profile": {
    "monthly_bill": [
      90,
      "null",
      90.25,
      90.5,
      90.75,
      90.75,
      91,
      92,
      92.25,
      92.5,
      93,
      93.25
    ]
  }
}

Response

Project successfully updated.

Example response

{
  "consumption_profile": {
    "location": "Mountain View Moffett Fld",
    "utility": "Pacific Gas & Electric Co",
    "utility_rate": "E-1 - Baseline Region R",
    "utility_rate_version": "28 Feb 2015 – 30 Aug 2015",
    "input_values": [
      90,
      null,
      90.25,
      90.5,
      90.75,
      90.75,
      91,
      92,
      92.25,
      92.5,
      93,
      93.25
    ],
    "efficiency_packages": []
  }
}