GetPointOfInterest
Takes an input PreciselyID, Building ID, Parcel ID, or POI ID and returns the related points of
interest
- Precisely ID input returns the points of interest related to the address
- Building ID input returns the points of interest related to the building
- Parcel ID input returns the points of interest related to the parcel
- POI ID returns the point of interest
Resource URL
JSON endpoint:
https://OnDemandServer/rest/GetPointOfInterest/results.json
https://OnDemandServer/rest/GetPointOfInterest?_wadl
XML endpoint:
https://OnDemandServer/rest/GetPointOfInterest/results.xml
https://OnDemandServer/rest/GetPointOfInterest?_wadl
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example with JSON Response
The following example requests a JSON response:
https://spectrum.precisely.com/rest/GetPointOfInterest/results.json?Data.PreciselyID=P00002T21EV4
The JSON returned by this request would be:
{
"Output": [
{
"PreciselyID": "P00002T21EV4",
"PBID": 1544941465,
"POIID": "D000PIXJM5T2",
"PBKey": "P00002T21EV4",
"Parent": "P00002T4TFZN",
"Name": "SILK SYSTEMS, LLC",
"ISO3": "USA",
"Areaname3": "FREMONT",
"Areaname2": "ALAMEDA",
"Areaname1": "CALIFORNIA",
"Stabb": "CA",
"AddNumber": "38623",
"Streetname": "CHERRY LN",
"Postcode": "94536-4210",
"FormattedAddress": "38623 CHERRY LN APT 199, FREMONT, CA 94536-4210",
"MainAddressLine": "38623 CHERRY LN APT 199",
"AddressLastLine": "FREMONT, CA 94536-4210",
"SourceAddr": "38623 CHERRY LN APT 199, FREMONT, CA, 945364210",
"Longitude": -121.972226,
"Latitude": 37.566664,
"Georesult": "S8HPNTSCZA",
"GeoConfidenceCode": "HIGH",
"CountryAccessCode": "001",
"TelNum": "(510) 364-8400",
"HTTP": "WWW.SILK-SYSTEMS.COM",
"BusinessLine": "BUSINESS SERVICES",
"SIC1": "7389",
"SIC8": "73891800",
"SIC8Description": "DESIGN SERVICES",
"ALTIndustryCode": "541490",
"MICode": "10905964",
"TradeDivision": "DIVISION I. - SERVICES",
"GroupName": "BUSINESS SERVICES",
"MainClass": "MISCELLANEOUS BUSINESS SERVICES",
"SubClass": "BUSINESS SERVICES, NEC",
"EmployeeHere": 5,
"EmployeeCount": 5,
"YearStart": 2020,
"SalesVolumeLocal": 30774,
"SalesVolumeUSDollars": 30774,
"CurrencyCode": "0020",
"AgentCode": "G",
"LegalStatusCode": "003",
"StatusCode": "0",
"SubsidiaryIndicator": "0",
"GlobalUltimateIndicator": "N",
"FamilyMembers": "00000",
"HierarchyCode": "00",
"PreciselyID.Input": "P00002T21EV4",
"GeometryWKT": "POINT (-121.97222604 37.56666402)",
"user_fields": []
}
]
}
Example with XML Response
The following example requests an XML response:
https://spectrum.precisely.com/rest/GetPointOfInterest/results.xml?Data.PreciselyID=P00002T21EV4
The XML returned by this request would be:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xml.GetPointOfInterestResponse xmlns="http://www.pb.com/spectrum/services/GetPointOfInterest">
<Output>
<Row>
<PreciselyID>P00002T21EV4</PreciselyID>
<PBID>1544941465</PBID>
<POIID>D000PIXJM5T2</POIID>
<PBKey>P00002T21EV4</PBKey>
<Parent>P00002T4TFZN</Parent>
<Name>SILK SYSTEMS, LLC</Name>
<ISO3>USA</ISO3>
<Areaname3>FREMONT</Areaname3>
<Areaname2>ALAMEDA</Areaname2>
<Areaname1>CALIFORNIA</Areaname1>
<Stabb>CA</Stabb>
<AddNumber>38623</AddNumber>
<Streetname>CHERRY LN</Streetname>
<Postcode>94536-4210</Postcode>
<FormattedAddress>38623 CHERRY LN APT 199, FREMONT, CA 94536-4210</FormattedAddress>
<MainAddressLine>38623 CHERRY LN APT 199</MainAddressLine>
<AddressLastLine>FREMONT, CA 94536-4210</AddressLastLine>
<SourceAddr>38623 CHERRY LN APT 199, FREMONT, CA, 945364210</SourceAddr>
<Longitude>-121.972226</Longitude>
<Latitude>37.566664</Latitude>
<Georesult>S8HPNTSCZA</Georesult>
<GeoConfidenceCode>HIGH</GeoConfidenceCode>
<CountryAccessCode>001</CountryAccessCode>
<TelNum>(510) 364-8400</TelNum>
<HTTP>WWW.SILK-SYSTEMS.COM</HTTP>
<BusinessLine>BUSINESS SERVICES</BusinessLine>
<SIC1>7389</SIC1>
<SIC8>73891800</SIC8>
<SIC8Description>DESIGN SERVICES</SIC8Description>
<ALTIndustryCode>541490</ALTIndustryCode>
<MICode>10905964</MICode>
<TradeDivision>DIVISION I. - SERVICES</TradeDivision>
<GroupName>BUSINESS SERVICES</GroupName>
<MainClass>MISCELLANEOUS BUSINESS SERVICES</MainClass>
<SubClass>BUSINESS SERVICES, NEC</SubClass>
<EmployeeHere>5</EmployeeHere>
<EmployeeCount>5</EmployeeCount>
<YearStart>2020</YearStart>
<SalesVolumeLocal>30774</SalesVolumeLocal>
<SalesVolumeUSDollars>30774</SalesVolumeUSDollars>
<CurrencyCode>0020</CurrencyCode>
<AgentCode>G</AgentCode>
<LegalStatusCode>003</LegalStatusCode>
<StatusCode>0</StatusCode>
<SubsidiaryIndicator>0</SubsidiaryIndicator>
<GlobalUltimateIndicator>N</GlobalUltimateIndicator>
<FamilyMembers>00000</FamilyMembers>
<HierarchyCode>00</HierarchyCode>
<PreciselyID.Input>P00002T21EV4</PreciselyID.Input>
<GeometryWKT>POINT (-121.97222604 37.56666402)</GeometryWKT>
<user_fields/>
</Row>
</Output>
</xml.GetPointOfInterestResponse>