Clean Air Act Search by Query ID
GET_QID is passed with a query ID corresponding to a previously run get_facilities query. It then returns a Facility object containing all matching facilities. The main purpose of GET_QID is for large querysets that contain multiple pages (responsesets) of output. GET_QID allows for pagination and for the selection and sorting of columns.
Query parameters
Output Format Flag. Enter one of the following keywords:
- JSON = Data model formatted as Javascript Object Notation (default).
- JSONP = Data model formatted as Javascript Object Notation with Padding.
- XML = Data model formatted as Extensible Markup Language.
Query ID Selector. Enter the QueryID number from a previously run query.
Indicates the number of the page to display. It is used only when the results are paginated.
JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.
Output Sort Column. Enter the number of the column on which the data will be sorted. If unpopulated results will sort on the first column.
Output Sort Column Descending Flag. Enter Y to column identified in the newsort parameter descending. Enter N to use ascending sort order. Used only when newsort parameter is populated.
Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.
Response
Results are an array (page) of CAA (ICIS Air) Facilities with the number of facilities equal to the responseset (page size).
Example response
{
"Results": {
"Facilities": [
{
"AIR3yrComplQtrsHistory": "VV__SS_U__V_",
"AIRCaseIDs": "05-1993-1585 05-2014-5021",
"AIRCity": "Washington",
"AIRComplStatus": "No Viol",
"AIRCounty": "Racine",
"AIRDaysLastEval": "2806",
"AIREPARegion": "05",
"AIREvalCnt": "0",
"AIRFIPSCode": "11001",
"AIRFacilityTypeCode": "POF",
"AIRFeaCnt": "2",
"AIRHpvStatus": "Yes",
"AIRIDs": "DC0000001100195254",
"AIRIeaCnt": "2",
"AIRIndianCntryFlg": "N",
"AIRLastEvalDate": "05/18/2009",
"AIRLastEvalDateEPA": "05/16/2014",
"AIRLastEvalDateState": "05/18/2009",
"AIRLastFeaDate": "05/16/2014",
"AIRLastFeaDateEPA": "05/16/2014",
"AIRLastFeaDateState": "05/16/2014",
"AIRLastIeaDate": "04/25/2014",
"AIRLastIeaDateEPA": "04/25/2014",
"AIRLastIeaDateState": "04/25/2014",
"AIRLastPenaltyDate": "05/16/2014",
"AIRLastStckDateEPA": "04/25/2014",
"AIRLastStckDateState": "04/25/2014",
"AIRLastStckTestDate": "04/25/2014",
"AIRLastStckTestResults": "04/25/2014",
"AIRLastViolDate": "04/25/2014",
"AIRMacts": "ZZZZZ",
"AIRMajorFlag": "N",
"AIRMnthsWithHpv": "3",
"AIRNAICS": "812320",
"AIRName": "WEST PARK CLEANERS",
"AIRNsps": "NSPS Part 60",
"AIRNspsm": "NSPS Part 60",
"AIRPenalties": "$435",
"AIRPollRecentViol": "Sulfur",
"AIRPrograms": "MACT, SIP",
"AIRQtrsWithHpv": "4",
"AIRQtrsWithViol": "2",
"AIRRecentViolCnt": "1",
"AIRState": "WI",
"AIRStatus": "Permanently Closed",
"AIRStreet": "2130 P STREET N.W.",
"AIRUniverse": "Minor Emissions",
"AIRZip": "20037",
"CWAIDs": "DC0000001",
"CalculatedAccuracyMeters": "50",
"CensusBlockGroup": "110010096022",
"ChesapeakeBayFlag": "Y",
"CollectionMethod": "ADDRESS MATCHING-HOUSE NUMBER",
"CurrSvFlag": "0",
"CurrVioFlag": "0",
"EPASystem": "ICP",
"Ea5yrFlag": "0",
"EisIDs": "12620001",
"FacCamdReporter": "Y",
"FacCountyName": "Fairfax County",
"FacDerivedHuc": "552968",
"FacDerivedTRIbes": "Cherokee Nation",
"FacDerivedWBD": "20700100204",
"FacDerivedWBDName": "Fourmile Run-Potomac River",
"FacEisAIRReleases": "2.35",
"FacEisReporter": "Y",
"FacFIPSCode": "55001",
"FacFederalAgencyCode": "E",
"FacFederalAgencyName": "EPA",
"FacGHGCO2Releases": "100",
"FacGHGReporter": "Y",
"FacIndianSpatialFlg": "Y",
"FacLat": "38.803076",
"FacLong": "-77.085951",
"FacMapFlg": "Y",
"FacMapIcon": "CWA-NC-MJ-2.png",
"FacNaaFlag": "Y",
"FacPercentMinority": "45.379",
"FacPopulationDensity": "9611.17",
"FacSICCodes": "811",
"FacStdCountyName": "Fairfax County",
"FacTRIAIRReleases": "36",
"FacTRICarcAIRReleases": "24",
"FacTRIHapsReleases": "35.5",
"FacTRIReporter": "B",
"FacUsMexBorderFlg": "Y",
"GHGIDs": "110000",
"HasPollRpt": "Y",
"Infea5yrFlag": "0",
"Insp5yrFlag": "1",
"LastDatePce": "04/25/2014",
"LastDatePceEPA": "04/25/2014",
"LastDatePceSta": "04/25/2014",
"Lower48": "Y",
"MaxPctileUs": "98",
"MaxScore": "1",
"NaaCategories": "8-HOUR OZONE(2015)",
"NaaPollutants": "OZONE",
"Over80CountUs": "3",
"PctileCancerUs": "99",
"PctileDpmUs": "99",
"PctileO3Us": "94",
"PctilePctpre1960Us": "14.6",
"PctilePmUs": "93",
"PctileProximityNPDESUs": "23.7",
"PctileProximityNplUs": "96",
"PctileProximityRmpUs": "91",
"PctileProximityTsdfUs": "82",
"PctileRespUs": "99",
"PctileTrafficScoreUs": "92",
"RCRAIDs": "VAD981111784",
"ReferencePoint": "ENTRANCE POINT OF A FACILITY OR STATION",
"RegistryID": "110020837601",
"RmpIDs": "110000",
"SDWAIDs": "DC0000001",
"Score": "1",
"SourceID": "ALR040033",
"Statute": "CWA",
"TRIIDs": "20011FRTTT5001F",
"TRIbalFlag": "1",
"ViolFlag": "1",
"WebDocs": "C6"
}
],
"Message": "Success",
"PageNo": "1",
"QueryID": "245",
"QueryRows": "5"
}
}