GET api/EnvironmentCurrent
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of EnvironmentCurrentName | Description | Type | Additional information |
---|---|---|---|
ID | Int32 |
None. |
|
Port | string |
None. |
|
Name | string |
None. |
|
Latitude | string |
None. |
|
Longitude | string |
None. |
|
Speed | string |
None. |
|
Dir | string |
None. |
|
ReadingTime | string |
None. |
|
SummaryText | string |
None. |
|
SpeedPercentageofMax | decimal number |
None. |
|
MarkerPath | string |
None. |
|
MarkerGeo | Collection of GeoLocation |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Port": "sample string 2", "Name": "sample string 3", "Latitude": "sample string 4", "Longitude": "sample string 5", "Speed": "sample string 6", "Dir": "sample string 7", "ReadingTime": "sample string 8", "SummaryText": "sample string 9", "SpeedPercentageofMax": 10.1, "MarkerPath": "sample string 11", "MarkerGeo": [ { "X": 0.0, "Y": 0.0 }, { "X": 0.0, "Y": 0.0 } ] }, { "ID": 1, "Port": "sample string 2", "Name": "sample string 3", "Latitude": "sample string 4", "Longitude": "sample string 5", "Speed": "sample string 6", "Dir": "sample string 7", "ReadingTime": "sample string 8", "SummaryText": "sample string 9", "SpeedPercentageofMax": 10.1, "MarkerPath": "sample string 11", "MarkerGeo": [ { "X": 0.0, "Y": 0.0 }, { "X": 0.0, "Y": 0.0 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfEnvironmentCurrent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dashboard.Models"> <EnvironmentCurrent> <Dir>sample string 7</Dir> <ID>1</ID> <Latitude>sample string 4</Latitude> <Longitude>sample string 5</Longitude> <MarkerGeo> <CommonEnvironmentDataFunctions.GeoLocation> <X>0</X> <Y>0</Y> </CommonEnvironmentDataFunctions.GeoLocation> <CommonEnvironmentDataFunctions.GeoLocation> <X>0</X> <Y>0</Y> </CommonEnvironmentDataFunctions.GeoLocation> </MarkerGeo> <MarkerPath>sample string 11</MarkerPath> <Name>sample string 3</Name> <Port>sample string 2</Port> <ReadingTime>sample string 8</ReadingTime> <Speed>sample string 6</Speed> <SpeedPercentageofMax>10.1</SpeedPercentageofMax> <SummaryText>sample string 9</SummaryText> </EnvironmentCurrent> <EnvironmentCurrent> <Dir>sample string 7</Dir> <ID>1</ID> <Latitude>sample string 4</Latitude> <Longitude>sample string 5</Longitude> <MarkerGeo> <CommonEnvironmentDataFunctions.GeoLocation> <X>0</X> <Y>0</Y> </CommonEnvironmentDataFunctions.GeoLocation> <CommonEnvironmentDataFunctions.GeoLocation> <X>0</X> <Y>0</Y> </CommonEnvironmentDataFunctions.GeoLocation> </MarkerGeo> <MarkerPath>sample string 11</MarkerPath> <Name>sample string 3</Name> <Port>sample string 2</Port> <ReadingTime>sample string 8</ReadingTime> <Speed>sample string 6</Speed> <SpeedPercentageofMax>10.1</SpeedPercentageofMax> <SummaryText>sample string 9</SummaryText> </EnvironmentCurrent> </ArrayOfEnvironmentCurrent>