CUAHIS-HIS
RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy

Data Cart

RSS
Modified on 2009/04/15 13:24 by twhit Categorized as ODM

Data Cart

The data cart is an entity that is used to define GetValues calls to WaterOneFlow web services. Each item in the data cart represents a single GetValues call. The item contains all of the information required by the parameters of GetValues, as well as the URL to the WSDL at which the GetValues call will be made.

The data cart should contain the following items:
  1. Location - (see below)
  2. Variable - (see below)
  3. Startdate - Begin date and time
  4. EndDate - End date and time
  5. ServiceURI - URI of the WSDL for the web service at which the GetValues call will be made
  6. AuthToken - Authentication token

Location

The Location field matches the location parameter of a GetValues call. This parameter is of the form "Network:SiteCode" or "GEOM:Geometry". For requests for data at a site, the Network name for the site is used, following by the Site Code, e.g., "NWIS:08158000". For requests for data at an arbitrary point or region in space, the keyword "GEOM" is used, followed by a construct defining the geometry, e.g., "GEOM:POINT(-106.5 43.2)", "GEOM:BOX(-111 41,-104 45)".

Variable

The Variable field matches the variable parameter of a GetValues call. This parameter is of the form "Vocabulary:VariableCode/SOURCEID=value/QUALITYCONTROLLEVELID=value/METHODID=value", e.g., "NWIS:00060/SOURCEID=3/QUALITYCONTROLLEVELID=1/METHODID=2".

Data Cart as Web Service with XML Response

This is from discussion in August, 2008.

HydroCartService (pdf)

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.