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:
- Location - (see below)
- Variable - (see below)
- Startdate - Begin date and time
- EndDate - End date and time
- ServiceURI - URI of the WSDL for the web service at which the GetValues call will be made
- AuthToken - Authentication token
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)".
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)