CensusIntersectionService_V02_93


Click here for a complete list of operations.

GetCensusIntersection

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
longitude:
latitude:
state:
apiKey:
version:
shouldNotStore:

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 /Services/CensusIntersection/WebService/CensusIntersectionWebService_V02_93.asmx HTTP/1.1
Host: geoservices.tamu.edu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://geoservices.tamu.edu/GetCensusIntersection"

<?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>
    <GetCensusIntersection xmlns="http://geoservices.tamu.edu/">
      <longitude>double</longitude>
      <latitude>double</latitude>
      <state>string</state>
      <apiKey>string</apiKey>
      <version>double</version>
      <shouldNotStore>boolean</shouldNotStore>
    </GetCensusIntersection>
  </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>
    <GetCensusIntersectionResponse xmlns="http://geoservices.tamu.edu/">
      <GetCensusIntersectionResult>
        <TransactionId>string</TransactionId>
        <QueryStatusCodes>-1 or 200 or 400 or 401 or 402 or 403 or 450 or 451 or 460 or 461 or 462 or 463 or 464 or 470 or 471 or 472 or 473 or 480 or 481 or 482 or 500 or 501</QueryStatusCodes>
        <QueryStatusCodeName>string</QueryStatusCodeName>
        <QueryStatusCodeValue>int</QueryStatusCodeValue>
        <ErrorMessage>string</ErrorMessage>
        <TimeTaken>double</TimeTaken>
        <Census2000StateFips>string</Census2000StateFips>
        <Census2000CountyFips>string</Census2000CountyFips>
        <Census2000Tract>string</Census2000Tract>
        <Census2000BlockGroup>string</Census2000BlockGroup>
        <Census2000Block>string</Census2000Block>
        <Census2000PlaceFips>string</Census2000PlaceFips>
        <Census2000McdFips>string</Census2000McdFips>
        <Census2000MsaFips>string</Census2000MsaFips>
        <Census2000MetDivFips>string</Census2000MetDivFips>
        <Census2000CbsaFips>string</Census2000CbsaFips>
        <Census2000CbsaMicro>string</Census2000CbsaMicro>
      </GetCensusIntersectionResult>
    </GetCensusIntersectionResponse>
  </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 /Services/CensusIntersection/WebService/CensusIntersectionWebService_V02_93.asmx HTTP/1.1
Host: geoservices.tamu.edu
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>
    <GetCensusIntersection xmlns="http://geoservices.tamu.edu/">
      <longitude>double</longitude>
      <latitude>double</latitude>
      <state>string</state>
      <apiKey>string</apiKey>
      <version>double</version>
      <shouldNotStore>boolean</shouldNotStore>
    </GetCensusIntersection>
  </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>
    <GetCensusIntersectionResponse xmlns="http://geoservices.tamu.edu/">
      <GetCensusIntersectionResult>
        <TransactionId>string</TransactionId>
        <QueryStatusCodes>-1 or 200 or 400 or 401 or 402 or 403 or 450 or 451 or 460 or 461 or 462 or 463 or 464 or 470 or 471 or 472 or 473 or 480 or 481 or 482 or 500 or 501</QueryStatusCodes>
        <QueryStatusCodeName>string</QueryStatusCodeName>
        <QueryStatusCodeValue>int</QueryStatusCodeValue>
        <ErrorMessage>string</ErrorMessage>
        <TimeTaken>double</TimeTaken>
        <Census2000StateFips>string</Census2000StateFips>
        <Census2000CountyFips>string</Census2000CountyFips>
        <Census2000Tract>string</Census2000Tract>
        <Census2000BlockGroup>string</Census2000BlockGroup>
        <Census2000Block>string</Census2000Block>
        <Census2000PlaceFips>string</Census2000PlaceFips>
        <Census2000McdFips>string</Census2000McdFips>
        <Census2000MsaFips>string</Census2000MsaFips>
        <Census2000MetDivFips>string</Census2000MetDivFips>
        <Census2000CbsaFips>string</Census2000CbsaFips>
        <Census2000CbsaMicro>string</Census2000CbsaMicro>
      </GetCensusIntersectionResult>
    </GetCensusIntersectionResponse>
  </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 /Services/CensusIntersection/WebService/CensusIntersectionWebService_V02_93.asmx/GetCensusIntersection?longitude=string&latitude=string&state=string&apiKey=string&version=string&shouldNotStore=string HTTP/1.1
Host: geoservices.tamu.edu
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<WebServiceCensusIntersectionResult xmlns="http://geoservices.tamu.edu/">
  <TransactionId>string</TransactionId>
  <QueryStatusCodes>-1 or 200 or 400 or 401 or 402 or 403 or 450 or 451 or 460 or 461 or 462 or 463 or 464 or 470 or 471 or 472 or 473 or 480 or 481 or 482 or 500 or 501</QueryStatusCodes>
  <QueryStatusCodeName>string</QueryStatusCodeName>
  <QueryStatusCodeValue>int</QueryStatusCodeValue>
  <ErrorMessage>string</ErrorMessage>
  <TimeTaken>double</TimeTaken>
  <Census2000StateFips>string</Census2000StateFips>
  <Census2000CountyFips>string</Census2000CountyFips>
  <Census2000Tract>string</Census2000Tract>
  <Census2000BlockGroup>string</Census2000BlockGroup>
  <Census2000Block>string</Census2000Block>
  <Census2000PlaceFips>string</Census2000PlaceFips>
  <Census2000McdFips>string</Census2000McdFips>
  <Census2000MsaFips>string</Census2000MsaFips>
  <Census2000MetDivFips>string</Census2000MetDivFips>
  <Census2000CbsaFips>string</Census2000CbsaFips>
  <Census2000CbsaMicro>string</Census2000CbsaMicro>
</WebServiceCensusIntersectionResult>

HTTP POST

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

POST /Services/CensusIntersection/WebService/CensusIntersectionWebService_V02_93.asmx/GetCensusIntersection HTTP/1.1
Host: geoservices.tamu.edu
Content-Type: application/x-www-form-urlencoded
Content-Length: length

longitude=string&latitude=string&state=string&apiKey=string&version=string&shouldNotStore=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<WebServiceCensusIntersectionResult xmlns="http://geoservices.tamu.edu/">
  <TransactionId>string</TransactionId>
  <QueryStatusCodes>-1 or 200 or 400 or 401 or 402 or 403 or 450 or 451 or 460 or 461 or 462 or 463 or 464 or 470 or 471 or 472 or 473 or 480 or 481 or 482 or 500 or 501</QueryStatusCodes>
  <QueryStatusCodeName>string</QueryStatusCodeName>
  <QueryStatusCodeValue>int</QueryStatusCodeValue>
  <ErrorMessage>string</ErrorMessage>
  <TimeTaken>double</TimeTaken>
  <Census2000StateFips>string</Census2000StateFips>
  <Census2000CountyFips>string</Census2000CountyFips>
  <Census2000Tract>string</Census2000Tract>
  <Census2000BlockGroup>string</Census2000BlockGroup>
  <Census2000Block>string</Census2000Block>
  <Census2000PlaceFips>string</Census2000PlaceFips>
  <Census2000McdFips>string</Census2000McdFips>
  <Census2000MsaFips>string</Census2000MsaFips>
  <Census2000MetDivFips>string</Census2000MetDivFips>
  <Census2000CbsaFips>string</Census2000CbsaFips>
  <Census2000CbsaMicro>string</Census2000CbsaMicro>
</WebServiceCensusIntersectionResult>