CensusIntersectionService_V03_01
Click here for a complete list of operations.
GetCensusIntersection
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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_V03_01.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> <censusYear>Unknown or NineteenNinety or TwoThousand or TwoThousandTen or TwoThousandTwenty or AllAvailable</censusYear> <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> <Version>double</Version> <CensusYear>Unknown or NineteenNinety or TwoThousand or TwoThousandTen or TwoThousandTwenty or AllAvailable</CensusYear> <CensusStateFips>string</CensusStateFips> <CensusCountyFips>string</CensusCountyFips> <CensusTract>string</CensusTract> <CensusBlockGroup>string</CensusBlockGroup> <CensusBlock>string</CensusBlock> <CensusPlaceFips>string</CensusPlaceFips> <CensusMcdFips>string</CensusMcdFips> <CensusMsaFips>string</CensusMsaFips> <CensusMetDivFips>string</CensusMetDivFips> <CensusCbsaFips>string</CensusCbsaFips> <CensusCbsaMicro>string</CensusCbsaMicro> <GeoLocationID>string</GeoLocationID> <ExceptionOccurred>boolean</ExceptionOccurred> <ExceptionMessage>string</ExceptionMessage> </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_V03_01.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> <censusYear>Unknown or NineteenNinety or TwoThousand or TwoThousandTen or TwoThousandTwenty or AllAvailable</censusYear> <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> <Version>double</Version> <CensusYear>Unknown or NineteenNinety or TwoThousand or TwoThousandTen or TwoThousandTwenty or AllAvailable</CensusYear> <CensusStateFips>string</CensusStateFips> <CensusCountyFips>string</CensusCountyFips> <CensusTract>string</CensusTract> <CensusBlockGroup>string</CensusBlockGroup> <CensusBlock>string</CensusBlock> <CensusPlaceFips>string</CensusPlaceFips> <CensusMcdFips>string</CensusMcdFips> <CensusMsaFips>string</CensusMsaFips> <CensusMetDivFips>string</CensusMetDivFips> <CensusCbsaFips>string</CensusCbsaFips> <CensusCbsaMicro>string</CensusCbsaMicro> <GeoLocationID>string</GeoLocationID> <ExceptionOccurred>boolean</ExceptionOccurred> <ExceptionMessage>string</ExceptionMessage> </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_V03_01.asmx/GetCensusIntersection?longitude=string&latitude=string&state=string&censusYear=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"?> <WebServiceCensusIntersectionQueryResult 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> <Version>double</Version> <CensusYear>Unknown or NineteenNinety or TwoThousand or TwoThousandTen or TwoThousandTwenty or AllAvailable</CensusYear> <CensusStateFips>string</CensusStateFips> <CensusCountyFips>string</CensusCountyFips> <CensusTract>string</CensusTract> <CensusBlockGroup>string</CensusBlockGroup> <CensusBlock>string</CensusBlock> <CensusPlaceFips>string</CensusPlaceFips> <CensusMcdFips>string</CensusMcdFips> <CensusMsaFips>string</CensusMsaFips> <CensusMetDivFips>string</CensusMetDivFips> <CensusCbsaFips>string</CensusCbsaFips> <CensusCbsaMicro>string</CensusCbsaMicro> <GeoLocationID>string</GeoLocationID> <ExceptionOccurred>boolean</ExceptionOccurred> <ExceptionMessage>string</ExceptionMessage> </WebServiceCensusIntersectionQueryResult>
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_V03_01.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&censusYear=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"?> <WebServiceCensusIntersectionQueryResult 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> <Version>double</Version> <CensusYear>Unknown or NineteenNinety or TwoThousand or TwoThousandTen or TwoThousandTwenty or AllAvailable</CensusYear> <CensusStateFips>string</CensusStateFips> <CensusCountyFips>string</CensusCountyFips> <CensusTract>string</CensusTract> <CensusBlockGroup>string</CensusBlockGroup> <CensusBlock>string</CensusBlock> <CensusPlaceFips>string</CensusPlaceFips> <CensusMcdFips>string</CensusMcdFips> <CensusMsaFips>string</CensusMsaFips> <CensusMetDivFips>string</CensusMetDivFips> <CensusCbsaFips>string</CensusCbsaFips> <CensusCbsaMicro>string</CensusCbsaMicro> <GeoLocationID>string</GeoLocationID> <ExceptionOccurred>boolean</ExceptionOccurred> <ExceptionMessage>string</ExceptionMessage> </WebServiceCensusIntersectionQueryResult>