WaterOneFlow


Click here for a complete list of operations.

GetValuesObject

Given a site number, a variable, a start date, and an end date, this method returns a time series. Pass in the sitecode and variable in this format: 'NetworkName:SiteCode' and 'NetworkName:Variable'

Test this call...

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /YosemiteHydroclimateNetwork/cuahsi_1_0.asmx HTTP/1.1 Host: hydroportal.cuahsi.org Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.cuahsi.org/his/1.0/ws/GetValuesObject" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetValuesObject xmlns="http://www.cuahsi.org/his/1.0/ws/"> <location>string</location> <variable>string</variable> <startDate>string</startDate> <endDate>string</endDate> <authToken>string</authToken> </GetValuesObject> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetValuesObjectResponse xmlns="http://www.cuahsi.org/his/1.0/ws/"> <timeSeriesResponse xmlns="http://www.cuahsi.org/waterML/1.0/"> <queryInfo> <creationTime>dateTime</creationTime> <queryURL>string</queryURL> <querySQL>string</querySQL> <criteria> <locationParam>string</locationParam> <variableParam>string</variableParam> <timeParam> <beginDateTime>string</beginDateTime> <endDateTime>string</endDateTime> </timeParam> </criteria> <note type="string" href="string" title="string" show="string" /> <note type="string" href="string" title="string" show="string" /> <extension /> </queryInfo> <timeSeries name="string"> <sourceInfo /> <variable oid="normalizedString" metadataDateTime="dateTime" network="string" vocabulary="string" default="boolean"> <variableCode network="string" vocabulary="string" default="boolean" variableID="integer" /> <variableCode network="string" vocabulary="string" default="boolean" variableID="integer" /> <variableName>string</variableName> <variableDescription>string</variableDescription> <valueType>Field Observation or Sample or Model Simulation Result or Derived Value or Unknown</valueType> <dataType>Continuous or Instantaneous or Cumulative or Incremental or Average or Maximum or Minimum or Constant Over Interval or Categorical or Best Easy Systematic Estimator or Unknown or Variance or Median or Mode or Best Easy Systematic Estimator or Standard Deviation or Skewness or Equivalent Mean or Sporadic or Unknown</dataType> <generalCategory>Water Quality or Climate or Hydrology or Geology or Biota or Unknown or Instrumentation</generalCategory> <sampleMedium>Surface Water or Ground Water or Sediment or Soil or Air or Tissue or Precipitation or Unknown or Other or Snow or Not Relevant</sampleMedium> <units unitsAbbreviation="normalizedString" unitsCode="token" unitsType="Angle or Area or Dimensionless or Energy or Energy Flux or Flow or Force or Frequency or Length or Light or Mass or Permeability or Power or Pressure/Stress or Resolution or Scale or Temperature or Time or Velocity or Volume" /> <options> <option name="normalizedString" optionID="integer" optionCode="token" /> <option name="normalizedString" optionID="integer" optionCode="token" /> </options> <note type="string" href="string" title="string" show="string" /> <note type="string" href="string" title="string" show="string" /> <related> <parentID network="string" vocabulary="string" default="boolean" /> <parentID network="string" vocabulary="string" default="boolean" /> <relatedID network="string" vocabulary="string" default="boolean" /> <relatedID network="string" vocabulary="string" default="boolean" /> </related> <extension /> <NoDataValue>string</NoDataValue> <timeSupport isRegular="boolean"> <unit UnitID="int"> <UnitName>string</UnitName> <UnitDescription>string</UnitDescription> <UnitType>Angle or Area or Dimensionless or Energy or Energy Flux or Flow or Force or Frequency or Length or Light or Mass or Permeability or Power or Pressure/Stress or Resolution or Scale or Temperature or Time or Velocity or Volume</UnitType> <UnitAbbreviation>string</UnitAbbreviation> </unit> <timeInterval>int</timeInterval> </timeSupport> </variable> <values timeZoneShiftApplied="boolean" unitsAbbreviation="normalizedString" unitsCode="token" unitsType="Angle or Area or Dimensionless or Energy or Energy Flux or Flow or Force or Frequency or Length or Light or Mass or Permeability or Power or Pressure/Stress or Resolution or Scale or Temperature or Time or Velocity or Volume" count="nonNegativeInteger" unitsAreConverted="boolean"> <value qualifiers="string" censorCode="lt or gt or nc or nd or pnq" dateTime="dateTime" qualityControlLevel="Raw data or Quality controlled data or Derived products or Interpreted products or Knowledge products or Unknown" methodID="int" sourceID="int" accuracyStdDev="double" codedVocabulary="boolean" codedVocabularyTerm="string" sampleID="int" offsetValue="double" offsetTypeID="int" offsetDescription="string" offsetUnitsAbbreviation="string" offsetUnitsCode="string" oid="normalizedString" metadataDateTime="dateTime" /> <value qualifiers="string" censorCode="lt or gt or nc or nd or pnq" dateTime="dateTime" qualityControlLevel="Raw data or Quality controlled data or Derived products or Interpreted products or Knowledge products or Unknown" methodID="int" sourceID="int" accuracyStdDev="double" codedVocabulary="boolean" codedVocabularyTerm="string" sampleID="int" offsetValue="double" offsetTypeID="int" offsetDescription="string" offsetUnitsAbbreviation="string" offsetUnitsCode="string" oid="normalizedString" metadataDateTime="dateTime" /> <qualifier qualifierCode="token" qualifierID="integer" oid="normalizedString" metadataDateTime="dateTime" network="string" vocabulary="string" default="boolean" /> <qualifier qualifierCode="token" qualifierID="integer" oid="normalizedString" metadataDateTime="dateTime" network="string" vocabulary="string" default="boolean" /> <qualityControlLevel qualityControlLevelCode="string" oid="normalizedString" metadataDateTime="dateTime" network="string" vocabulary="string" default="boolean"> <qualityControlLevelID>normalizedString</qualityControlLevelID> </qualityControlLevel> <qualityControlLevel qualityControlLevelCode="string" oid="normalizedString" metadataDateTime="dateTime" network="string" vocabulary="string" default="boolean"> <qualityControlLevelID>normalizedString</qualityControlLevelID> </qualityControlLevel> <method methodID="int"> <MethodDescription>string</MethodDescription> <MethodLink>string</MethodLink> </method> <method methodID="int"> <MethodDescription>string</MethodDescription> <MethodLink>string</MethodLink> </method> <source sourceID="int"> <Organization>string</Organization> <SourceDescription>string</SourceDescription> <Metadata> <TopicCategory>string</TopicCategory> <Title>string</Title> <Abstract>string</Abstract> <ProfileVersion>string</ProfileVersion> <MetadataLink>anyURI</MetadataLink> </Metadata> <ContactInformation> <ContactName>string</ContactName> <TypeOfContact>string</TypeOfContact> <Phone>string</Phone> <Email>string</Email> <Address /> </ContactInformation> <SourceLink>anyURI</SourceLink> </source> <source sourceID="int"> <Organization>string</Organization> <SourceDescription>string</SourceDescription> <Metadata> <TopicCategory>string</TopicCategory> <Title>string</Title> <Abstract>string</Abstract> <ProfileVersion>string</ProfileVersion> <MetadataLink>anyURI</MetadataLink> </Metadata> <ContactInformation> <ContactName>string</ContactName> <TypeOfContact>string</TypeOfContact> <Phone>string</Phone> <Email>string</Email> <Address /> </ContactInformation> <SourceLink>anyURI</SourceLink> </source> <offset offsetTypeID="int"> <offsetValue>float</offsetValue> <offsetDescription>string</offsetDescription> <units unitsAbbreviation="normalizedString" unitsCode="token" unitsType="Angle or Area or Dimensionless or Energy or Energy Flux or Flow or Force or Frequency or Length or Light or Mass or Permeability or Power or Pressure/Stress or Resolution or Scale or Temperature or Time or Velocity or Volume" /> <offsetIsVertical>boolean</offsetIsVertical> <offsetHorizDirectionDegrees>int</offsetHorizDirectionDegrees> </offset> <offset offsetTypeID="int"> <offsetValue>float</offsetValue> <offsetDescription>string</offsetDescription> <units unitsAbbreviation="normalizedString" unitsCode="token" unitsType="Angle or Area or Dimensionless or Energy or Energy Flux or Flow or Force or Frequency or Length or Light or Mass or Permeability or Power or Pressure/Stress or Resolution or Scale or Temperature or Time or Velocity or Volume" /> <offsetIsVertical>boolean</offsetIsVertical> <offsetHorizDirectionDegrees>int</offsetHorizDirectionDegrees> </offset> <sample sampleID="int"> <labSampleCode>string</labSampleCode> <SampleType>FD or FF or FL or LF or GW or PB or PD or PE or PI or PW or RE or SE or SR or SS or SW or TE or TI or TW or VE or VI or VW or Grab or Unknown or No Sample</SampleType> <LabMethod labMethodID="int"> <labName>string</labName> <labOrganization>string</labOrganization> <LabMethodName>string</LabMethodName> <labMethodDescription>string</labMethodDescription> <labMethodLink>string</labMethodLink> </LabMethod> </sample> <sample sampleID="int"> <labSampleCode>string</labSampleCode> <SampleType>FD or FF or FL or LF or GW or PB or PD or PE or PI or PW or RE or SE or SR or SS or SW or TE or TI or TW or VE or VI or VW or Grab or Unknown or No Sample</SampleType> <LabMethod labMethodID="int"> <labName>string</labName> <labOrganization>string</labOrganization> <LabMethodName>string</LabMethodName> <labMethodDescription>string</labMethodDescription> <labMethodLink>string</labMethodLink> </LabMethod> </sample> </values> </timeSeries> </timeSeriesResponse> </GetValuesObjectResponse> </soap:Body> </soap:Envelope>