Detailed Facility Report
Detailed Facility Report Inspections Summary Service
This procedure obtains data for Enforcement and Compliance Summary Section of the Detailed Facility report.
get/dfr_rest_services.get_inspections
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 an array of inspection enforcement summaries
Example response
{
"Results": {
"InspectionEnforcementSummary": {
"ProgramDates": [
{
"EndDate": "01/01/2016",
"Program": "CWA",
"StartDate": "01/01/2016"
}
],
"Source": [
{
"DateLastInspection": "01/13/2007",
"EPASystem": "ICP",
"FormalEnfActCount": "1",
"SourceID": "ALR040033",
"Statute": "CWA",
"TotalPenalties": "$963,531"
}
]
},
"Message": "Success"
}
}