Skip to main content

Fields

consumptionClassId : String

Consumption class identifier.

currency : String! required

Price currency.

maxAnnualConsumption : Int! required

Maximum annual consumption (in kWh) up to which the rate applies.

minAnnualConsumption : Int! required

Minimum annual consumption (in kWh) for which the rate applies.

pricePerUnit : Decimal! required

Price per unit (without taxes).

pricePerUnitWithTaxes : Decimal! required

Price per unit (with taxes).

unitType : ProductRateUnitType! required

Unit type.

validFrom : DateTime

Datetime for the beginning of the rate validity.

validTo : DateTime

Datetime for end of the rate validity.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "consumptionClassId": "27877987", "currency": "worry-remain-five-movement-large", "maxAnnualConsumption": 65, "minAnnualConsumption": 54, "pricePerUnit": "1.0", "pricePerUnitWithTaxes": "1.0", "unitType": "DAYS_ON_SUPPLY", "validFrom": "2001-05-05T09:46:10.031735+00:00", "validTo": "2009-07-20T19:50:55.175928+00:00" }