POST api/USGSStreamStats/v1/ComputeStreamStats
Request Information
URI Parameters
None.
Body Parameters
StreamStatsRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| GeoCode | string |
None. |
|
| CoordinateSystemCode | integer |
None. |
|
| BBoxAroundLocation | Rect |
None. |
Request Formats
application/json, text/json
Sample:
{
"Latitude": 1.1,
"Longitude": 1.1,
"GeoCode": "sample string 1",
"CoordinateSystemCode": 2,
"BBoxAroundLocation": "1.1,2.1,3.1,4.1"
}
application/xml, text/xml
Sample:
<StreamStatsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CivilGeo.CoreAPIs.USGSStreamStats.Models.Request">
<BBoxAroundLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Windows">
<d2p1:_height>4.1</d2p1:_height>
<d2p1:_width>3.1</d2p1:_width>
<d2p1:_x>1.1</d2p1:_x>
<d2p1:_y>2.1</d2p1:_y>
</BBoxAroundLocation>
<CoordinateSystemCode>2</CoordinateSystemCode>
<GeoCode>sample string 1</GeoCode>
<Latitude>1.1</Latitude>
<Longitude>1.1</Longitude>
</StreamStatsRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |