...
Response
Example for request http://data.oceannetworks.ca/api/dataProducts?method=get&token=[YOUR_TOKEN_HERE]&deviceCategoryCode=CTD&locationCode=BACAX
Success (HTTP 200)
Returns a list of data product extensions with values for Data Product Code, Data Product Name, Extension and Help Document URL, ordered by Data Product Code
...
- Return a list of All of the Data Product Extensions (no filters)
http://data.oceannetworks.ca/api/dataProducts?method=get&token=[YOUR_TOKEN_HERE]
- Return a list of all of the Data Product Extensions available for a Data Product Code of 'TSSD' (Time Series Scalar Data)
- Return a list of all of the Data Products Extensions available for an Extension of 'pdf'
http://data.oceannetworks.ca/api/dataProducts?method=get&token=[YOUR_TOKEN_HERE]&extension=pdf
- Return a list of all of the Data Products Extensions available for a Data Product Code of 'TSSD' (Time Series Scalar Data) and an Extension of 'csv'
- Return a list of all of the Data Product Extension that have a Data Product Name which contains 'scalar'
- Return a list of all of the Data Product Extensions that are available for instruments at a location with a Location Code of 'BACAX' ('Barkely Canyon Axis (POD1)')
http://data.oceannetworks.ca/api/dataProducts?method=get&token=[YOUR_TOKEN_HERE]&locationCode=BACAX
- Return a list of all of the Data Products with an Extension of 'mat' that are available for instruments at a location with a Location Code of 'BACAX' ('Barkely Canyon Axis (POD1)')
- Return a list of all of the Data Product Extensions that are available for a device with a Device Code of 'NORTEKAQDPRO8398'
- Return a list of all of the Data Product Extensions that are available for instruments with a Device Category of 'ADCP2MHZ'
- Return the Data Products Extensions available for a Property Code of 'seawatertemperature'
*NOTE: The http://dmasdata.uvicoceannetworks.ca/apiproxy/dataProducts url used in the above examples can be used in a browser for sharing or testing purposes; however, it can not be used from code, as it redirects to a login screen to capture your user id. In order to use the dataProducts endpoint from code, you must use the http://data.oceannetworks.ca/api/dataProducts url along with a valid token. Attempting to use the apiproxy url from code will result html returned in the payload which may cause errors or unexpected behavior.
Code Examples
Content Report Table | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|