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

Documentation score: Route: 0% Fields: 100%

Description:

TODO

Search parameters:

One or more of the following search parameters need to be specified in order to retrieve data:
Parameter nameRequiredDescription
activityId Leak or tank site id number
activityName The name of the site.
activitySysId The query id for the site.
activityType LS = leak site, TS = tank site
addressStreet The first line of the address.
city The city of the address
county The name of the county that the site is located in.
siteId The WIMN site query id. (Ref:/api/doc/v1/wimn/sites)
state The state of the address
zipCode The zip code of the address

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 Leak or tank site id number
activityName The name of the site.
activitySysId The query id for the site.
activityType LS = leak site, TS = tank site
addressStreet The first line of the address.
city The city of the address
county The name of the county that the site is located in.
lat The latitude of the site in decimal degrees.
long The longitude of the site in decimal degrees.
siteId The WIMN site query id.
state The state of the address
tankCount The number of tanks at the site
zipCode The zip code of the address

Example Queries: