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

{ "searchTerm": "view-majority-born-major-consider" }

Response

{ "data": { "propertySearch": [ { "address": "board-let-consumer-front-letter", "addressLine1": "movement-report-same-either-read", "addressLine2": "thousand-tough-low-produce-mission", "addressLine3": "computer-bit-home-building-society", "addressLine4": "record-effect-production-community-rather", "addressLine5": "blood-between-minute-at-old", "ancestors": PropertyConnection, "coordinates": CoordinatesType, "descendants": PropertyConnection, "embeddedNetwork": EmbeddedNetworkType, "id": "21704390", "label": "moment-born-out-eight-let", "measurements": MeasurementConnection, "meterPoints": [ElectricityMeterPointType], "occupancyPeriods": [OccupancyPeriodType], "parent": PropertyInterface, "postcode": "her-best-free-personal-action", "richAddress": PropertyRichAddressType, "splitAddress": "community-true-issue-ahead-rule" } ] } }