Documentation for "/api/v1/tanks-and-leaks/activities/leaks":

Documentation score: Route: 0% Fields: 77%

Description:

TODO

Search parameters:

One or more of the following search parameters need to be specified in order to retrieve data:
Parameter nameRequiredDescription
activitySysId Yes The query id for the site.
siteId The WIMN site query id. (Ref:/api/doc/v1/wimn/sites)
siteType A short description of the leak site, used to identify potential leaks and special cases. (Ref:/api/doc/v1/tanks-and-leaks/leak-site-types)

Additional parameters:

The following, optional, parameters may be specified:
Parameter nameDescription
format The desired return format. Valid formats are: {json, jsonp, text, csv, xls, ods, and tab}. The default is json.
callback The JSONP callback function name (Note that format needs to be "jsonp").
fields The comma-separated-list of the field names to return from the query. The default is to return all available fields.
nullValue Value to substitute in place of null values. The default is to return null values as "null" (per JSON.org).
limit The number of records to limit the result set to. Behaves like the SQL standard LIMIT clause.
offset Used with Limit-- the record number to start retrieving from. Behaves like the SQL standard OFFSET clause.

Result Set Definitions:

Field nameDescription
active Displays if the leak site is active or inactive
activityId Leak site id number
activityName Leak site name
activitySysId The query id for the site.
addressStreet Leak site address
city Leak site city
county The name of the county that the leak is located in.
discoveryDate Date leak was discovered
leakedProduct List of released products
regulatoryDesignation Regulatory designation
mpcaContact MPCA contact name. If the leak site is active then this is the same as the project manager.
projectManager MPCA project manager's name. Includes avtive and inactive staff.
hydrologist MPCA hydrologist's name. Includes avtive and inactive staff.
reportDate Date leak was reported
siteClosureDate date the site closure was completed.
siteId The WIMN site query id.
siteType A short description of the leak site, used to identify potential leaks and special cases.
zipCode ZIP code of leak site

Example Queries: