WaterOneFlow


Click here for a complete list of operations.

GetVariableInfoObject

Given a variable code, this method returns the variable's siteName. Pass in the variable in this format: '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/GetVariableInfoObject" <?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> <GetVariableInfoObject xmlns="http://www.cuahsi.org/his/1.0/ws/"> <variable>string</variable> <authToken>string</authToken> </GetVariableInfoObject> </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> <GetVariableInfoObjectResponse xmlns="http://www.cuahsi.org/his/1.0/ws/"> <variablesResponse 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> <variables> <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> <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> </variables> </variablesResponse> </GetVariableInfoObjectResponse> </soap:Body> </soap:Envelope>