Documentation for "/api/v1/wimn/sites/enforcement-actions":

Documentation score: Route: 100% Fields: 100%

Description:

MPCA enforcement actions for a site

Search parameters:

One or more of the following search parameters need to be specified in order to retrieve data:
Parameter nameRequiredDescription
siteId Yes The query id for the site.

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
activityId The commonly used ID for the activity.
activitySystemId The system id for the activity.
activityTypeName The type of activity that the enforcement action is associated with.
activitySubtypeName The subtype of activity.
closureDate The date that the enforcement case was closed.
discoveryDate The date that a violation was discovered. Or, if that date is not known (particularly for older cases that predate the data system), the date of the first forum for the case.
enfActionDate The date that the enforcement action was issued or executed.
enfCaseType The type of enforcement action.
netPenalty The final penalty amount.
programName The name of the MPCA program associated with the enforcement action.
siteId The query id for the site.

Example Queries: