Skip to main content

Arguments

id : ID! required

The property ID.

Returns

PropertyType

Represents a property. Conceptually, it collects supply points under an address.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can query property meters

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 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" } } }