Documentation for "/api/v1/hazardouswaste/generators/licenses":

Documentation score: Route: 100% Fields: 100%

Description:

Hazardous waste licenses held by a generator.

Search parameters:

One or more of the following search parameters need to be specified in order to retrieve data:
Parameter nameRequiredDescription
activityId Yes The "Hazardous Waste Identification Number" for the site.
licenseYear The license year. (July - June)

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 "Hazardous Waste Identification Number" for the site.
balance The amount owed on the invoice.
invoicePaid Status of the licensee's payment
licenseExpirationDate The date the license expires. (text)
licenseYear The license year. (July - June)
reportingYear The hazardous waste generation report used to apply for this license (the 2012 report is used to apply for the 2014 license)

Example Queries: