GeometryInfo


Click here for a complete list of operations.

IPQueryPro

IP query based on IP Address. It returns the result as a object instance of IPInfoPro which includes city, city fips, state, state fips, zipcode, county, county fips, county subdivision, school district, census tract, census block group, area code, traffic zone, voting district, core based statistical area, combined statistical area and metropolitan division. This function is only available for USA IPs.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
key:
IP:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceV2/GeometryInfo.asmx HTTP/1.1
Host: www.dyngeometry.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.DynGeometry.com/WebService/IPQueryPro"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <IPQueryPro xmlns="http://www.DynGeometry.com/WebService/">
      <key>string</key>
      <IP>string</IP>
    </IPQueryPro>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <IPQueryProResponse xmlns="http://www.DynGeometry.com/WebService/">
      <IPQueryProResult>
        <IP>string</IP>
        <longitude>double</longitude>
        <latitude>double</latitude>
        <IPCity>string</IPCity>
        <IPState>string</IPState>
        <IPZipCode>string</IPZipCode>
        <country>string</country>
        <censusCity>
          <cityFIPS>string</cityFIPS>
          <cityName>string</cityName>
          <state>string</state>
        </censusCity>
        <state>
          <stateFIPS>string</stateFIPS>
          <stateName>string</stateName>
          <stateAbbr>string</stateAbbr>
        </state>
        <zipCode>
          <zipCode>string</zipCode>
          <zipCity>string</zipCity>
          <state>string</state>
        </zipCode>
        <county>
          <countyFIPS>string</countyFIPS>
          <countyName>string</countyName>
          <state>string</state>
        </county>
        <countySubdivision>
          <countySubdivisionName>string</countySubdivisionName>
          <countySubdivisionFIPS>string</countySubdivisionFIPS>
        </countySubdivision>
        <censusTractFIPS>string</censusTractFIPS>
        <blockGroupFIPS>string</blockGroupFIPS>
        <coreBasedStatisticalArea>
          <CBSAName>string</CBSAName>
          <CBSAID>string</CBSAID>
        </coreBasedStatisticalArea>
        <combinedStatisticalArea>
          <CSAName>string</CSAName>
          <CSAID>string</CSAID>
        </combinedStatisticalArea>
        <metropolitanDivision>
          <METDIVName>string</METDIVName>
          <METDIVID>string</METDIVID>
        </metropolitanDivision>
        <schoolDistrict>
          <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
          <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
          <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
          <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
          <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
          <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
        </schoolDistrict>
        <trafficZone>
          <trafficZoneName>string</trafficZoneName>
          <trafficZoneID>string</trafficZoneID>
        </trafficZone>
        <votingDistrict>
          <votingDistrictName>string</votingDistrictName>
          <votingDistrictID>string</votingDistrictID>
        </votingDistrict>
        <areaCode>
          <areaCode>
            <string>string</string>
            <string>string</string>
          </areaCode>
          <state>string</state>
        </areaCode>
        <error_no>int</error_no>
        <error_desc>string</error_desc>
      </IPQueryProResult>
    </IPQueryProResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceV2/GeometryInfo.asmx HTTP/1.1
Host: www.dyngeometry.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <IPQueryPro xmlns="http://www.DynGeometry.com/WebService/">
      <key>string</key>
      <IP>string</IP>
    </IPQueryPro>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <IPQueryProResponse xmlns="http://www.DynGeometry.com/WebService/">
      <IPQueryProResult>
        <IP>string</IP>
        <longitude>double</longitude>
        <latitude>double</latitude>
        <IPCity>string</IPCity>
        <IPState>string</IPState>
        <IPZipCode>string</IPZipCode>
        <country>string</country>
        <censusCity>
          <cityFIPS>string</cityFIPS>
          <cityName>string</cityName>
          <state>string</state>
        </censusCity>
        <state>
          <stateFIPS>string</stateFIPS>
          <stateName>string</stateName>
          <stateAbbr>string</stateAbbr>
        </state>
        <zipCode>
          <zipCode>string</zipCode>
          <zipCity>string</zipCity>
          <state>string</state>
        </zipCode>
        <county>
          <countyFIPS>string</countyFIPS>
          <countyName>string</countyName>
          <state>string</state>
        </county>
        <countySubdivision>
          <countySubdivisionName>string</countySubdivisionName>
          <countySubdivisionFIPS>string</countySubdivisionFIPS>
        </countySubdivision>
        <censusTractFIPS>string</censusTractFIPS>
        <blockGroupFIPS>string</blockGroupFIPS>
        <coreBasedStatisticalArea>
          <CBSAName>string</CBSAName>
          <CBSAID>string</CBSAID>
        </coreBasedStatisticalArea>
        <combinedStatisticalArea>
          <CSAName>string</CSAName>
          <CSAID>string</CSAID>
        </combinedStatisticalArea>
        <metropolitanDivision>
          <METDIVName>string</METDIVName>
          <METDIVID>string</METDIVID>
        </metropolitanDivision>
        <schoolDistrict>
          <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
          <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
          <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
          <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
          <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
          <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
        </schoolDistrict>
        <trafficZone>
          <trafficZoneName>string</trafficZoneName>
          <trafficZoneID>string</trafficZoneID>
        </trafficZone>
        <votingDistrict>
          <votingDistrictName>string</votingDistrictName>
          <votingDistrictID>string</votingDistrictID>
        </votingDistrict>
        <areaCode>
          <areaCode>
            <string>string</string>
            <string>string</string>
          </areaCode>
          <state>string</state>
        </areaCode>
        <error_no>int</error_no>
        <error_desc>string</error_desc>
      </IPQueryProResult>
    </IPQueryProResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /WebServiceV2/GeometryInfo.asmx/IPQueryPro?key=string&IP=string HTTP/1.1
Host: www.dyngeometry.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<IPInfoPro xmlns="http://www.DynGeometry.com/WebService/">
  <IP>string</IP>
  <longitude>double</longitude>
  <latitude>double</latitude>
  <IPCity>string</IPCity>
  <IPState>string</IPState>
  <IPZipCode>string</IPZipCode>
  <country>string</country>
  <censusCity>
    <cityFIPS>string</cityFIPS>
    <cityName>string</cityName>
    <state>string</state>
  </censusCity>
  <state>
    <stateFIPS>string</stateFIPS>
    <stateName>string</stateName>
    <stateAbbr>string</stateAbbr>
  </state>
  <zipCode>
    <zipCode>string</zipCode>
    <zipCity>string</zipCity>
    <state>string</state>
  </zipCode>
  <county>
    <countyFIPS>string</countyFIPS>
    <countyName>string</countyName>
    <state>string</state>
  </county>
  <countySubdivision>
    <countySubdivisionName>string</countySubdivisionName>
    <countySubdivisionFIPS>string</countySubdivisionFIPS>
  </countySubdivision>
  <censusTractFIPS>string</censusTractFIPS>
  <blockGroupFIPS>string</blockGroupFIPS>
  <coreBasedStatisticalArea>
    <CBSAName>string</CBSAName>
    <CBSAID>string</CBSAID>
  </coreBasedStatisticalArea>
  <combinedStatisticalArea>
    <CSAName>string</CSAName>
    <CSAID>string</CSAID>
  </combinedStatisticalArea>
  <metropolitanDivision>
    <METDIVName>string</METDIVName>
    <METDIVID>string</METDIVID>
  </metropolitanDivision>
  <schoolDistrict>
    <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
    <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
    <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
    <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
    <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
    <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
  </schoolDistrict>
  <trafficZone>
    <trafficZoneName>string</trafficZoneName>
    <trafficZoneID>string</trafficZoneID>
  </trafficZone>
  <votingDistrict>
    <votingDistrictName>string</votingDistrictName>
    <votingDistrictID>string</votingDistrictID>
  </votingDistrict>
  <areaCode>
    <areaCode>
      <string>string</string>
      <string>string</string>
    </areaCode>
    <state>string</state>
  </areaCode>
  <error_no>int</error_no>
  <error_desc>string</error_desc>
</IPInfoPro>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceV2/GeometryInfo.asmx/IPQueryPro HTTP/1.1
Host: www.dyngeometry.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

key=string&IP=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<IPInfoPro xmlns="http://www.DynGeometry.com/WebService/">
  <IP>string</IP>
  <longitude>double</longitude>
  <latitude>double</latitude>
  <IPCity>string</IPCity>
  <IPState>string</IPState>
  <IPZipCode>string</IPZipCode>
  <country>string</country>
  <censusCity>
    <cityFIPS>string</cityFIPS>
    <cityName>string</cityName>
    <state>string</state>
  </censusCity>
  <state>
    <stateFIPS>string</stateFIPS>
    <stateName>string</stateName>
    <stateAbbr>string</stateAbbr>
  </state>
  <zipCode>
    <zipCode>string</zipCode>
    <zipCity>string</zipCity>
    <state>string</state>
  </zipCode>
  <county>
    <countyFIPS>string</countyFIPS>
    <countyName>string</countyName>
    <state>string</state>
  </county>
  <countySubdivision>
    <countySubdivisionName>string</countySubdivisionName>
    <countySubdivisionFIPS>string</countySubdivisionFIPS>
  </countySubdivision>
  <censusTractFIPS>string</censusTractFIPS>
  <blockGroupFIPS>string</blockGroupFIPS>
  <coreBasedStatisticalArea>
    <CBSAName>string</CBSAName>
    <CBSAID>string</CBSAID>
  </coreBasedStatisticalArea>
  <combinedStatisticalArea>
    <CSAName>string</CSAName>
    <CSAID>string</CSAID>
  </combinedStatisticalArea>
  <metropolitanDivision>
    <METDIVName>string</METDIVName>
    <METDIVID>string</METDIVID>
  </metropolitanDivision>
  <schoolDistrict>
    <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
    <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
    <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
    <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
    <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
    <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
  </schoolDistrict>
  <trafficZone>
    <trafficZoneName>string</trafficZoneName>
    <trafficZoneID>string</trafficZoneID>
  </trafficZone>
  <votingDistrict>
    <votingDistrictName>string</votingDistrictName>
    <votingDistrictID>string</votingDistrictID>
  </votingDistrict>
  <areaCode>
    <areaCode>
      <string>string</string>
      <string>string</string>
    </areaCode>
    <state>string</state>
  </areaCode>
  <error_no>int</error_no>
  <error_desc>string</error_desc>
</IPInfoPro>