Skip to main content

Arguments

searchTerm : String! required

The search term. It can be an address or a meter point identifier.

Returns

[PropertyType]

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

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query property

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 PropertySearch($searchTerm: String!) { propertySearch(searchTerm: $searchTerm) { address ancestors { ...PropertyConnectionFragment } availableSmets2InstallationTimeslots { ...Smets2InstallationTimeslotTypeFragment } coordinates { ...CoordinatesTypeFragment } descendants { ...PropertyConnectionFragment } electricityMeterPoints { ...ElectricityMeterPointTypeFragment } embeddedNetwork { ...EmbeddedNetworkTypeFragment } gasMeterPoints { ...GasMeterPointTypeFragment } id isChangeOfTenancyOngoing isSmets2InstallationAllowed label measurements { ...MeasurementConnectionFragment } occupancyPeriods { ...OccupancyPeriodTypeFragment } parent { ...PropertyInterfaceFragment } postcode richAddress { ...PropertyRichAddressTypeFragment } smartDeviceNetworks { ...SmartMeterDeviceNetworkTypeFragment } splitAddress wanCoverage } }

Variables

{ "searchTerm": "film-few-media-only-nearly" }

Response

{ "data": { "propertySearch": [ { "address": "with-clear-PM-yes-save", "ancestors": PropertyConnection, "availableSmets2InstallationTimeslots": [Smets2InstallationTimeslotType], "coordinates": CoordinatesType, "descendants": PropertyConnection, "electricityMeterPoints": [ElectricityMeterPointType], "embeddedNetwork": EmbeddedNetworkType, "gasMeterPoints": [GasMeterPointType], "id": "85954955", "isChangeOfTenancyOngoing": true, "isSmets2InstallationAllowed": true, "label": "already-inside-example-probably-seem", "measurements": MeasurementConnection, "occupancyPeriods": [OccupancyPeriodType], "parent": PropertyInterface, "postcode": "adult-bed-bed-above-especially", "richAddress": PropertyRichAddressType, "smartDeviceNetworks": [SmartMeterDeviceNetworkType], "splitAddress": "evening-sit-player-system-shoulder", "wanCoverage": "HIGH" } ] } }