v1

latestSwagger 2.0U.S. Public Domain License2026-07-143628384.6 KB
Facility Information

Clean Water Act (CWA) Paginated Results Service

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.

post/cwa_rest_services.get_qid

Response

Results are an array (page) of CWA (ICIS NPDES) Facilities with the number of facilities equal to the responseset (page size).

Example response

{
  "Results": {
    "Facilities": [
      {
        "AIRIDs": "DC0000001100195254",
        "AttainsAquaticLifeUseFlg": "Y",
        "AttainsAuCategory": "5",
        "AttainsCauseGroups": "POLYCHLORINATED BIPHENYLS (PCBS) | TOXIC ORGANICS",
        "AttainsCycleYear": "2012",
        "AttainsExceptnlUseFlg": "Y",
        "AttainsImpWaterFlg": "Y",
        "AttainsPossibleNPDESParams": "pH",
        "AttainsRecreationUseFlg": "Y",
        "AttainsShellfishUseFlg": "Y",
        "AttainsSource": "303(d)",
        "AttainsStateCauses": "PH | POLYCHLORINATED BIPHENYLS (PCBS)",
        "BeachCloseLast2yrsFlg": "Y",
        "BeachCloseLastYearFlg": "Y",
        "BioQtrsWithVio": "0",
        "BioVioLastYearFlag": "N",
        "BioVioStatus": "0",
        "CWP13qtrsComplHistory": "VV__SS_U__V_",
        "CWPActualAverageFlowNmbr": "448",
        "CWPCaseIDs": "03-2014-0228",
        "CWPCity": "HUNTSVILLE",
        "CWPComplianceTracking": "On",
        "CWPCounty": "District of Columbia",
        "CWPCsoFlag": "N",
        "CWPCsoOutfalls": "59",
        "CWPDateLastFea": "06/01/2006",
        "CWPDateLastFeaEPA": "06/01/2006",
        "CWPDateLastFeaSt": "09/27/2010",
        "CWPDateLastIeaEPA": "12/09/1992",
        "CWPDateLastIeaSt": "06/09/2013",
        "CWPDateLastInformalEa": "06/09/2013",
        "CWPDateLastInspEPA": "07/29/2015",
        "CWPDateLastInspSt": "09/15/2004",
        "CWPDateLastInspection": "07/29/2015",
        "CWPDateLastPenalty": "09/27/2010",
        "CWPDaysLastInspection": "247",
        "CWPE90Cnt": "5",
        "CWPEPARegion": "03",
        "CWPEffectiveDate": "01/14/2009",
        "CWPExpirationDate": "04/19/2005",
        "CWPFIPSCode": "11032",
        "CWPFacilityTypeIndicator": "NON-POTW",
        "CWPFormalEaCnt": "1",
        "CWPImpWaterFlg": "Y",
        "CWPIndianCntryFlg": "Y",
        "CWPInformalEnfActCount": "3",
        "CWPInspectionCount": "4",
        "CWPIssueDate": "11/10/2015",
        "CWPMajorMinorStatusFlag": "N",
        "CWPNAICSCodes": "236220",
        "CWPName": "REDSTONE ARSENAL",
        "CWPPermitStatusCode": "ADC",
        "CWPPermitStatusDesc": "Effective",
        "CWPPermitTypeCode": "NPD",
        "CWPPermitTypeDesc": "General Permit Covered Facility",
        "CWPQtrsWithNC": "0",
        "CWPQtrsWithSNC": "0",
        "CWPSICCodes": "4911",
        "CWPSNCStatusDate": "09/30/2018",
        "CWPState": "AL",
        "CWPStateWaterBodyCode": "552968",
        "CWPStateWaterBodyName": "POTOMAC RIVER",
        "CWPStatus": "No Violation",
        "CWPStreet": "BUILDING 3240 AREA",
        "CWPTotalDesignFlowNmbr": "40",
        "CWPTotalPenalties": "$6,524",
        "CWPVersionNmbr": "0",
        "CWPVioStatus": "E(EffViol)",
        "CWPViolStatus": "No",
        "CWPZip": "35898",
        "CalculatedAccuracyMeters": "50",
        "CensusBlockGroup": "110010096022",
        "CertifiedDate": "01/01/2018",
        "ChesapeakeBayFlag": "Y",
        "CollectionMethod": "ADDRESS MATCHING-HOUSE NUMBER",
        "CurrSvFlag": "0",
        "CurrVioFlag": "0",
        "DMRImpairedPoll": "Mercury | Oil and grease | Solids, total suspended | Temperature, water deg. centigrade | Temperature, water deg. fahrenheit | pH",
        "DMRPounds": "500696",
        "DMRTwpe": "1.15",
        "E90Exceeds1yr": "4",
        "E90Exceeds2yr": "8",
        "E90Exceeds3yr": "10",
        "E90Exceeds4yr": "12",
        "E90Exceeds5yr": "16",
        "E90Pollutants1yr": "Lead",
        "E90Pollutants2yr": "Lead, Copper",
        "E90Pollutants3yr": "Lead, Copper",
        "E90Pollutants4yr": "Lead, Copper",
        "E90Pollutants5yr": "Lead, Copper",
        "EPASystem": "ICP",
        "Ea5yrFlag": "0",
        "EffExceeds": "4",
        "FacCountyName": "Fairfax County",
        "FacDerivedHuc": "552968",
        "FacDerivedTRIbes": "Cherokee Nation",
        "FacDerivedWBD": "20700100204",
        "FacDerivedWBDHu8": "2070003",
        "FacDerivedWBDHu8Name": "Cacapon-Town",
        "FacDerivedWBDName": "Fourmile Run-Potomac River",
        "FacFIPSCode": "55001",
        "FacFederalAgencyCode": "E",
        "FacFederalAgencyName": "EPA",
        "FacIndianSpatialFlg": "Y",
        "FacLat": "38.803076",
        "FacLong": "-77.085951",
        "FacMapFlg": "Y",
        "FacMapIcon": "CWA-NC-MJ-2.png",
        "FacPercentMinority": "45.379",
        "FacPopDen": "6716.34",
        "FacStdCountyName": "Fairfax County",
        "FacTRIPotwTrans": "1058200",
        "FacTRIReporter": "B",
        "FacTRISwRel": "0",
        "FacUsMexBorderFlg": "Y",
        "IndswFlag": "Y",
        "Infea5yrFlag": "0",
        "Insp5yrFlag": "1",
        "InspDef5yrCnt": "0",
        "LastDMRValueRcvdDate": "01/31/2018",
        "Lower48": "Y",
        "MaxPctileUs": "98",
        "MaxScore": "1",
        "MsgpPermitType": "NOI",
        "Over80CountUs": "3",
        "PastCalYrAverageFlow": "209",
        "PastCalYrToxicPolOvrLmt": "0",
        "PastCalYrToxicPollutants": "Benzene",
        "PctileCancerUs": "99",
        "PctileDpmUs": "99",
        "PctileO3Us": "94",
        "PctilePctpre1960Us": "14.6",
        "PctilePmUs": "93",
        "PctileProximityNPDESUs": "23.7",
        "PctileProximityNplUs": "96",
        "PctileProximityRmpUs": "91",
        "PctileProximityTsdfUs": "82",
        "PctileRespUs": "99",
        "PctileTrafficScoreUs": "92",
        "PermitComponents": "POTW",
        "RCRAIDs": "VAD981111784",
        "RadGnisName": "Pojoaque River",
        "RadHu12Name": "Nichols Run-Potomac River",
        "RadReachcode": "144957244039",
        "RadWBDHu8": "2060003",
        "RadWBDHu8Name": "Gunpowder-Patapsco",
        "RadWBDHuc12": "020700081005",
        "ReferencePoint": "ENTRANCE POINT OF A FACILITY OR STATION",
        "RegistryID": "110020837601",
        "RmpIDs": "110000",
        "SDWAIDs": "DC0000001",
        "Score": "1",
        "Sector": "N: Scrap Recycling Facilities",
        "SourceID": "ALR040033",
        "StateAuthBiosolids": "Y",
        "Statute": "CWA",
        "TRIIDs": "20011FRTTT5001F",
        "TRIbalFlag": "1",
        "VioLastYear": "1",
        "ViolFlag": "1",
        "WebDocs": "C6"
      }
    ],
    "Message": "Success",
    "PageNo": "1",
    "QueryID": "245",
    "QueryRows": "5"
  }
}