WaterOneFlow
Click here for a complete list of operations.
GetSiteInfoObject
Given a site number, this method returns the site's metadata. Send the site code in this format: 'NetworkName:SiteCode'
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /BaltOD/cuahsi_1_0.asmx HTTP/1.1
Host: his09.umbc.edu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cuahsi.org/his/1.0/ws/GetSiteInfoObject"
<?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>
<GetSiteInfoObject xmlns="http://www.cuahsi.org/his/1.0/ws/">
<site>string</site>
<authToken>string</authToken>
</GetSiteInfoObject>
</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>
<GetSiteInfoObjectResponse xmlns="http://www.cuahsi.org/his/1.0/ws/">
<sitesResponse 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 xsi:nil="true" />
</criteria>
<note type="string" href="string" title="string" show="string" />
<note type="string" href="string" title="string" show="string" />
<extension />
</queryInfo>
<site>
<siteInfo oid="normalizedString" metadataDateTime="dateTime">
<siteName>string</siteName>
<siteCode xsi:nil="true" />
<siteCode xsi:nil="true" />
<timeZoneInfo xsi:nil="true" />
<geoLocation xsi:nil="true" />
<elevation_m>double</elevation_m>
<verticalDatum>string</verticalDatum>
<note xsi:nil="true" />
<note xsi:nil="true" />
<extension />
<altname />
</siteInfo>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<extension />
</site>
<site>
<siteInfo oid="normalizedString" metadataDateTime="dateTime">
<siteName>string</siteName>
<siteCode xsi:nil="true" />
<siteCode xsi:nil="true" />
<timeZoneInfo xsi:nil="true" />
<geoLocation xsi:nil="true" />
<elevation_m>double</elevation_m>
<verticalDatum>string</verticalDatum>
<note xsi:nil="true" />
<note xsi:nil="true" />
<extension />
<altname />
</siteInfo>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<extension />
</site>
</sitesResponse>
</GetSiteInfoObjectResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /BaltOD/cuahsi_1_0.asmx HTTP/1.1
Host: his09.umbc.edu
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetSiteInfoObject xmlns="http://www.cuahsi.org/his/1.0/ws/">
<site>string</site>
<authToken>string</authToken>
</GetSiteInfoObject>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetSiteInfoObjectResponse xmlns="http://www.cuahsi.org/his/1.0/ws/">
<sitesResponse 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 xsi:nil="true" />
</criteria>
<note type="string" href="string" title="string" show="string" />
<note type="string" href="string" title="string" show="string" />
<extension />
</queryInfo>
<site>
<siteInfo oid="normalizedString" metadataDateTime="dateTime">
<siteName>string</siteName>
<siteCode xsi:nil="true" />
<siteCode xsi:nil="true" />
<timeZoneInfo xsi:nil="true" />
<geoLocation xsi:nil="true" />
<elevation_m>double</elevation_m>
<verticalDatum>string</verticalDatum>
<note xsi:nil="true" />
<note xsi:nil="true" />
<extension />
<altname />
</siteInfo>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<extension />
</site>
<site>
<siteInfo oid="normalizedString" metadataDateTime="dateTime">
<siteName>string</siteName>
<siteCode xsi:nil="true" />
<siteCode xsi:nil="true" />
<timeZoneInfo xsi:nil="true" />
<geoLocation xsi:nil="true" />
<elevation_m>double</elevation_m>
<verticalDatum>string</verticalDatum>
<note xsi:nil="true" />
<note xsi:nil="true" />
<extension />
<altname />
</siteInfo>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<seriesCatalog menuGroupName="string" serviceWsdl="anyURI">
<note xsi:nil="true" />
<note xsi:nil="true" />
<series xsi:nil="true" />
<series xsi:nil="true" />
</seriesCatalog>
<extension />
</site>
</sitesResponse>
</GetSiteInfoObjectResponse>
</soap12:Body>
</soap12:Envelope>