Takes an input Address or Precisely ID and returns the parent Precisely ID and the returns information about parent and children addresses related to input, by requesting Address Family nested under the object type Addresses. To receive a count of related addresses request Metadata > Count. To return the data records for the related addresses, specify Data and the attributes required for each record returned.
Address Genealogy
query addressByPreciselyID {
getById(id: "P0000GL64GEB", queryType: PRECISELY_ID) {
addresses {
data {
preciselyID
addressNumber
streetName
unitType
unit
city
admin1ShortName
parentPreciselyID
addressFamily {
metadata {
count
}
data {
preciselyID
addressNumber
streetName
unitType
unit
}
}
}
}
}
}