property
A property with the given ID. Usually associated with supply points.
Arguments
The property ID.
Returns
PropertyTypeRepresents a property. Conceptually, it collects supply points under an address.
Possible Errors
Allowed Viewers
Required Permissions
Can access customer queriesCan query property meters
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 Property($id: ID!) {
property(id: $id) {
address
addressLine1
addressLine2
addressLine3
addressLine4
addressLine5
ancestors {
...PropertyConnectionFragment
}
coordinates {
...CoordinatesTypeFragment
}
descendants {
...PropertyConnectionFragment
}
embeddedNetwork {
...EmbeddedNetworkTypeFragment
}
id
label
measurements {
...MeasurementConnectionFragment
}
meterPoints {
...ElectricityMeterPointTypeFragment
}
occupancyPeriods {
...OccupancyPeriodTypeFragment
}
parent {
...PropertyInterfaceFragment
}
postcode
richAddress {
...PropertyRichAddressTypeFragment
}
splitAddress
}
}
Variables
{
"id": "41999867"
}
Response
{
"data": {
"property": {
"address": "city-doctor-once-paper-economy",
"addressLine1": "share-southern-often-reflect-car",
"addressLine2": "probably-tell-can-allow-plant",
"addressLine3": "child-act-education-nature-responsibility",
"addressLine4": "get-lose-speak-cost-discussion",
"addressLine5": "power-series-continue-decision-push",
"ancestors": PropertyConnection,
"coordinates": CoordinatesType,
"descendants": PropertyConnection,
"embeddedNetwork": EmbeddedNetworkType,
"id": "85926665",
"label": "manage-woman-easy-decade-method",
"measurements": MeasurementConnection,
"meterPoints": [ElectricityMeterPointType],
"occupancyPeriods": [OccupancyPeriodType],
"parent": PropertyInterface,
"postcode": "speak-identify-responsibility-take-consider",
"richAddress": PropertyRichAddressType,
"splitAddress": "analysis-already-marriage-build-find"
}
}
}