Documentation for "/api/v2/tanks-and-leaks/activities/tanks/under-ground-tanks":

Documentation score: Route: 66% Fields: 81%

Description:

Underground tank details

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.
mpcaTankNumber MPCA assigned tank name
siteId The WIMN site query id. (Ref:/api/doc/v1/wimn/sites)

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 Tank site ID number
activitySysId The query id for the site.
dispenserType Tank dispenser type code
spillPreventionType Tank spill prevention type description
mpcaTankNumber MPCA assigned tank name
overfillProtectionType Overfill protection type description
pipeReleaseDetectionType Pipe release detect type description
tankWallIndType Tank wall type indicator description
pipeWallIndType Pipe wall type indicator description
tankSpillContainmentIndType Spill bucket wall type indicator description
pipingCathodicProtection Piping cathodic protection type description
pipingMaterial Piping material
productStored Content of the tank
registrationDate Date this tank was registered with the MPCA
siteId The WIMN site query id.
status Active, abandoned, removed, closed in place, out of service
storageCapacity Storage capacity in gallons
tankCathodicProtection Tank cathodic protection type description
tankMaterial Tank construction material
tankReleaseDetection Tank release detection description
tankInstallDate Tank install date
tankRemovedDate Tank removal date

Example Queries: