The following samples illustrate how to use the devices discovery service to obtain the deviceCode from the service response. Use the deviceCode to request data using the dataProductDelivery service.
This example returns all Devices and prints the results.
|
This example returns the device with deviceCode 'NORTEKAQDPRO8398' and prints the results. The deviceCode filter is case sensitive and must match a valid deviceCode exactly. Parameters:
|
This example returns all Devices with 'jasco' in the name and prints the results. The deviceName filter is NOT case sensitive, so capitalized 'JASCO' will also be returned. Parameters:
|
This example returns all Devices that have been deployed at the location with locationCode 'BACAX' and prints out the results. The locationCode filter is case sensitive and must match a valid locationCode exactly. See locations for further details Parameters:
|
This example returns all Devices with the deviceCategoryCode 'ADCP2MHZ' and prints the results. The deviceCategoryCode filter is case sensitive and must match a valid deviceCategoryCode exactly. See deviceCategories service for further details Parameters:
|
This example returns all Devices that measures the property 'oxygen' and prints the results. The propertyCode filter is case sensitive and must match a valid propertyCode exactly. See properties service for further details. Parameters:
|
This example returns all Devices that has the device category 'CTD' and property 'pressure' and prints the results. The deviceCategoryCode filter is case sensitive and must match a valid deviceCategoryCode exactly. See deviceCategories service for further details. The propertyCode filter is case sensitive and must match a valid propertyCode exactly. See properties service for further details. Parameters:
|
This example returns all Devices that support the dataProductCode 'IBPP' ('Ice Buoy Profile Plots') and prints the results. The dataProductCode filter is case sensitive and must match a valid dataProductCode exactly. See dataProductCode service for further details. Parameters:
|
This example returns all Devices deployed between 1 July 2010 and 30 June 2012, and prints the results. Both the dateFrom and dateTo must be included and be valid UTC date/time values in the format yyyy-MM-dd'T'HH:mm:ss.SSS'Z' and the dateFrom date/time must be before the dateTo date/time. Parameters:
|
This example returns all Devices deployed between 1July 2010 and 30 June 2011, at the location with the locationCode 'BACAX' ('Barkely Canyon Axis (POD1)'), and prints the results. Both the dateFrom and dateTo must be included and be valid UTC date/time values in the format yyyy-MM-dd'T'HH:mm:ss.SSS'Z' and the dateFrom date/time must be before the dateTo date/time. Parameters:
|
This example returns all Devices deployed between 1 July 2010 and 30 June 2011, at the location with the locationCode 'BACAX' ('Barkely Canyon Axis (POD1)'), with the propertyCode 'seawatertemperature', and prints the results. Both the dateFrom and dateTo must be included and be valid UTC date/time values in the format yyyy-MM-dd'T'HH:mm:ss.SSS'Z' and the dateFrom date/time must be before the dateTo date/time. Parameters:
|
Please report all issues with the web services, documentation, samples and client libraries to the Oceans 3.0 Help Centre |