availableProductFromDisplayName
Available energy product, whose display name has the given prefix.
Arguments
Display name of the product.
Possible Errors
Allowed Viewers
Query Complexity
1Examples
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 AvailableProductFromDisplayName($displayName: String!) {
availableProductFromDisplayName(displayName: $displayName) {
availableFrom
availableTo
code
description
direction
displayName
endsAt
exitFees
exitFeesType
fullName
id
includesEpgReduction
isAvailable
isBusiness
isChargedHalfHourly
isDefault
isDomestic
isFixed
isGreen
isHidden
isOccupier
isPrepay
isUnavailable
isVariable
notes
tags
tariffs {
...EnergyTariffConnectionTypeConnectionFragment
}
term
}
}
Variables
{
"displayName": "TV-shake-population-happy-memory"
}
Response
{
"data": {
"availableProductFromDisplayName": {
"availableFrom": "2014-11-03T20:51:38.375039+00:00",
"availableTo": "1981-07-14T18:24:59.898218+00:00",
"code": "federal-federal-need-close-red",
"description": "let-be-but-paper-method",
"direction": "IMPORT",
"displayName": "help-choose-interview-walk-rest",
"endsAt": "2014-04-06T20:00:01.633420+00:00",
"exitFees": 64,
"exitFeesType": "race-response-girl-middle-close",
"fullName": "role-American-wonder-space-pick",
"id": "45906764",
"includesEpgReduction": true,
"isAvailable": true,
"isBusiness": true,
"isChargedHalfHourly": true,
"isDefault": true,
"isDomestic": true,
"isFixed": true,
"isGreen": true,
"isHidden": true,
"isOccupier": true,
"isPrepay": true,
"isUnavailable": true,
"isVariable": true,
"notes": "say-base-window-wide-pay",
"tags": "whom-rather-bank-surface-drop",
"tariffs": EnergyTariffConnectionTypeConnection,
"term": 49
}
}
}