Drinking Water Watch API v1.0
Water Systems Detail
URL
https://e-enterprise-prod.apigee.net/sdwis/dww/v1.0/wsd/
Parameters to return one water system
- id (required): the PWS ID
If an id is passed in, all other parameters will be ignored
Parameters to return many water systems
- top (required): the maximum number to return
- skip (optional): the record to start at
- count (optional): true/false, whether to return a count of available water systems
Parameters to return all water systems
No parameters required
Examples
Violations - Return all Violations for a Water system
URL
https://e-enterprise-prod.apigee.net/sdwis/dww/v1.0/violations/
Parameters
- id (required): the PWS ID
or
- tinwsys_is_number (required): the PWS SDWIS number
- st_code (optional): defaults to NM if not specified
Examples
Violation - Return Details of a Single Violation
URL
https://e-enterprise-prod.apigee.net/sdwis/dww/v1.0/violation/
Parameters
- tmnviol_is_number (required): the violation SDWIS number
- st_code (optional): defaults to NM if not specified
Examples
Group Violations - Return all Group Violations for a Water system
URL
https://e-enterprise-prod.apigee.net/sdwis/dww/v1.0/groupviolations/
Parameters
- id (required): the PWS ID
or
- tinwsys_is_number (required): the PWS SDWIS number
- st_code (optional): defaults to NM if not specified
Examples
Violations In Group - Return List from Group Violations
URL
https://e-enterprise-prod.apigee.net/sdwis/dww/v1.0/violationsingroup/
Parameters
- id (required): the PWS ID
or
- tinwsys_is_number (required): the PWS SDWIS number
- tmnviol_is_number (required): the violation SDWIS number
- st_code (optional): defaults to NM if not specified
Examples