Detailed Facility Report
Detailed Facility Report SDWA Violations Service
This procedure obtains data for the SDWA Violations section of the DFR.
get/dfr_rest_services.get_sdwa_violations
Query parameters
output'JSONP' | 'JSON' | 'XML'
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.
p_idstring required
Either the EPA Facility Registry System's REGISTRY_ID for a facility or the facility identifier from the following EPA Systems: RCRAINFO (HANDLER_ID), AFS (SCSC), ICIS NPDES (NPDES_ID), or SDWIS (PWS_ID).
callbackstring
JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.
Response
Returns an object that includes SDWA violations
Example response
{
"Results": {
"Message": "Success",
"ViolationsEnforcementActions": {
"Sources": [
{
"Violations": [
{
"CompliancePeriodBeginDate": "1/17/2015",
"CompliancePeriodEndDate": "5/28/2015",
"ContaminantName": "ALEXANDRIA",
"EnforcementActions": [
{
"Agency": "State",
"EnforcementActionTypeDesc": "Judicial",
"EnforcementDate": "03/06/2014",
"EnforcementId": "1229336",
"EnforcementType": "Formal"
}
],
"FederalRule": "Lead and Copper Rule",
"ResolvedDate": "02/16/2017",
"SourceID": "ALR040033",
"StateMCL": "CAROLINE",
"Status": "Resolved",
"ViolationCategoryCode": "MR",
"ViolationCategoryDesc": "Monitoring and Reporting",
"ViolationID": "1221223"
}
]
}
]
}
}
}