Returned Type:
XmlDocument
Returns an XML Document with the following structure:
<?xml version="1.0" encoding="utf-8" ?>
<furesult>
<message><![CDATA[ OK ]]></message>
<items>
<item>
<id>-1</id>
<username>skyhawk</username>
<firstname>John</firstname>
<lastname>Black</lastname>
<latitude>44.5927777777778</latitude>
<longitude>11.6555555555556</longitude>
<accuracy>20</accuracy>
<altitude>500</altitude>
<altitudeaccuracy>15</altitudeaccuracy>
<heading>10</heading>
<speed>170</speed>
<message><![CDATA[Ciao.]]></message>
<time>20101112173026</time>
<trackid>50</trackid>
<callsign>AB123YZ</callsign>
<icontype>1</icontype>
<iconurl>http://www.mywakes.com/images/flightplan/icon/Numbers/number_1.png</iconurl>
</item>
</items>
</furesult>
Where
- <message> contains OK or Error description
- <items> if the command has succeeded and <message> is OK this tag exists and contains the list of positions:
- <item> each position element. Can be repeated many times and contains the following data:
- <id> consumer Id. If the consumer is not selected the value will be -1.
- <username> track's owner username
- <firstname> track's owner first name
- <lastname> track's owner last name
- <latitude> the point's latitude in degree and decimal degrees. If the position is in the southern hemisphere the value will be negative so it will be preceded by a minus sign
- <longitude> the point's longitude in degree and decimal degrees. If the position is in the western hemisphere the value will be negative so it will be preceded by a minus sign
- <altitude> the point's altitude in feet without decimal numbers
- <accuracy> the point's accuracy in meters without decimal numbers
- <altitudeaccuracy> the altitude's accuracy in feet without decimal numbers
- <heading> the direction of the vehicle in degrees from 0 to 359
- <speed> the detected speed expressed in meters per second and tenths of a meter per second
- <status> The consumer status.
- 0 (zero) for normal status
- 1 (one) for rest status
- 2 power on and waiting points
- 3 power off
- <message> a message sent along with the position. Maximum length is 1000 characters
- <trackid> the Id of the track that updated the position. In Friend or Public mode, if the track could not be shared, this value is -1.
- <avatar> gravatar URL of track's owner
- <time> UTC date and time of the position in yyyyMMddhhmmss format
- <callsign> consumer's identifier
- <icontype> the type of the Icon:
- 0=12x20 pixel with pin at 6x20
- 1=32x37 pixel with pin at 16x37
- 2=32x37 pixel with pin at 16x18
- <iconurl> the icon's URL