Description:
Activities at a MPCA site. Activities refer to activities carried out by an organization and the MPCA at a given site. Activities include, but are not limited to, air emission permits, the cleanup of leaks and spills, the disposal of solid waste, and the handling of hazardous waste.
Search parameters:
One or more of the following search parameters need to be specified in order to retrieve data:
siteId |
Yes |
The query id for the site.
|
Additional parameters:
The following, optional, parameters may be specified:
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:
active |
Indicates if the the activity is active or not. |
activityId |
The commonly used ID for the activity. |
activityName |
The name of the activity. |
activitySubtypeName |
The subtype of activity. |
activitySystemId |
The system id for the activity. |
activityTypeCode |
The code for the type of activity. |
activityTypeDescription |
The description of the activity type. |
activityTypeName |
The type of activity. |
primarySicCode |
The primary SIC code. |
primarySicName |
The name/description for the primary SIC code. |
programCode |
The code the MPCA program associated with the activity. |
programName |
The name of the MPCA program associated with the activity. |
siteId |
The query id for the site. |
Example Queries: