Skip to main content

Arguments

activeFrom : Date

Is the meti credit active from this date.

activeOn : Date

Is the meti credit active on this date.

activeTo : Date

Is the meti credit active to this date.

metiCreditType : String

The type of METI credit period. E for electricity, G for gas, or None for all.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

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.

Query

query MetiCredits( $activeFrom: Date, $activeOn: Date, $activeTo: Date, $metiCreditType: String ) { metiCredits( activeFrom: $activeFrom, activeOn: $activeOn, activeTo: $activeTo, metiCreditType: $metiCreditType ) { creditType endDate startDate unitPrice } }

Variables

{ "activeFrom": "1971-01-29", "activeOn": "1995-02-07", "activeTo": "1979-07-15", "metiCreditType": "space-second-sound-pattern-decide" }

Response

{ "data": { "metiCredits": [ { "creditType": "ELECTRICITY", "endDate": "2014-10-29", "startDate": "1986-05-16", "unitPrice": "1.0" } ] } }