...
See the External Web Services for method and token usage and error messages.
URL
No Format |
---|
http://dmasdata.uvicoceannetworks.ca/api/dataProducts |
Method | Description | Example |
---|---|---|
get | Retrieve a list Data Products codes |
|
...
Example for request http://dmasdata.uvicoceannetworks.ca/api/dataProducts?method=get&token=[YOUR_TOKEN_HERE]&deviceCategoryCode=CTD&locationCode=BACAX
...
- Return a list of All of the Data Product Extensions (no filters)
http://dmasdata.uvicoceannetworks.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'
...
- 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)')
...
- 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://dmas.uvic.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://dmasdata.uvicoceannetworks.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 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|