supplyContracts
Fetch supply contracts.
Arguments
The account number linked to the supply contracts.
Fetch supply contracts related to this specific agreement.
Filter supply contracts by market name (FRA_ELECTRICITY or FRA_GAS).
Filter supply contracts related to this property.
Specific supply contract to display.
Filter supply contracts related to this specific supply point.
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 SupplyContracts(
$accountNumber: String!,
$after: String,
$agreementId: ID,
$before: String,
$first: Int,
$last: Int,
$marketName: FRAMarketName,
$propertyId: ID,
$supplyContractNumber: String,
$supplyPointId: ID
) {
supplyContracts(
accountNumber: $accountNumber,
after: $after,
agreementId: $agreementId,
before: $before,
first: $first,
last: $last,
marketName: $marketName,
propertyId: $propertyId,
supplyContractNumber: $supplyContractNumber,
supplyPointId: $supplyPointId
) {
edgeCount
edges {
...SupplyContractConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"accountNumber": "A-6A328510",
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"agreementId": "23059136",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"last": 10,
"marketName": "FRA_ELECTRICITY",
"propertyId": "82241763",
"supplyContractNumber": "hold-kitchen-consider-large-table",
"supplyPointId": "14886578"
}
Response
{
"data": {
"supplyContracts": {
"edgeCount": 76,
"edges": [SupplyContractConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 25
}
}
}