GetTrackAndPointsByDate

Returns the points between given dates

public List<TrackInfo> GetTrackAndPointsByDate(bool <byHttps>, string <userName>, string <password>, TracksAndPointsByDateParameters <tracksAndPointsByDateParameters>, ref char <messageType>, ref string <message>)

Parameters:

bool <byHttps> Set to true if you want to user https protocol otherwise, if you want to use http, set it to false
string <userName> A string containing the username assigned from MyWakes
string <password> A string containing the password for the MyWakes user
TracksAndPointsByDateParameters <tracksAndPointsByDateParameters> A TracksAndPointsByDateParameters object containing command's specific parameters
ref char <messageType> A string containing output parameter that will return the type of message returned in <message> field: I=information, W=warning, E=error
ref string <message> A string containing output parameter with the message content

TracksAndPointsByDateParameters

UInt32 <Consumer> Consumer Id by which search the tracks
DateTime? <DateTimeFrom> The start of interval of points to search. If no value is set the backend server will return all points from the beginning.
DateTime? <DateTimeTo> The end of interval of points to search. If no value is set the backend server will return all points till the end.
bool <InterestPoints> If set to true the backend server will send POI (Points Of Interest) along with track data. If set to false no POI is sent.
UInt32? <MaxItem> Used for paging results. If set returns points less than this value.
Note that order to prevent your system from being flooded with oversized responses, the number of messages that will be returned on a single response is limited to 2000.
UInt32? <MinItem> Used for paging results. If set returns points greater than this value.
DateTime? <NextLastTime> If set the backend server will return only points with a date greater then this user value.
UInt32? <SimplifiedMax> Only if a track is closed, and no values are set for <MaxItem> and <MinItem>, permits to have track points in simplified mode.

Returned Type: List<TrackInfo>

Returns a list of TrackInfo object that has the following structure:

string <Description> The track's description
DataTable <DtPoints> A DataTable object with the list of each track's point
Color? <Color1> The color of the track
Color? <Color2> The transparency color of the altitude
int <Public> Indicates if the track is public or not: 0=the track is private and visible only to the user who creates it, 1=the track is shown in a page that can be viewed by friends, 2=can be published in a page where all public tracks are showed
DateTime <StartTime> UTC date and time of the begin of the track
DateTime <EndTime> UTC date and time of the end of the track (only if the track is closed)
bool <UpdatePosition> This value can be false=the trackpoint command do not updated current user position, true=the trackpoint command updated current user position
string <Photo> Contains the URL of the KMZ file that show all the pictures linked to the track
int? <MinAltitude> The minimum altitude value of the track in feet (only if track is closed)
int? <MaxAltitude> The maximum altitude value of the track in feet (only if track is closed)
Decimal? <Lenght> The track's length in km (only if track is closed)
int? <TotPoints> The total number of the points in the track, also if a paging is requested (only if the track is closed)
bool <IsInRealTime> Specify if the device is in real time mode: 0=is not in real time mode, 1=is in real time mode
int? <IsAutoClosed> Contains status of the track: -1=the track is open, 0=the track has been closed by user, 1=the track has been closed by server

DataTable <DtPoints>

Returns a DataTable object with the following structure:

decimal <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
decimal <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
int <Accuracy> The point's accuracy in meters without decimal numbers
int <Altitude> The point's altitude in feet without decimal numbers
int <AltitudeAccuracy> The altitude's accuracy in feet without decimal numbers
int <Heading> The direction of the vehicle in degrees from 0 to 359
decimal <Speed> The detected speed expressed in meters per second and tenths of a meter per second
string <Message> A message sent along with the position. Maximum length is 1000 characters
string <Type> The type of the position and can be:
  • 0:starndard.
  • 1:SOS.
  • 2:begin of activity.
  • 3:end of activity.
  • 4:button 1 pressed.
  • 5:button 2 pressed.
  • 6:button 3 pressed.
  • 7:button 4 pressed.
  • 8: state changed from motion to rest.
  • 9: state changed from rest to motion.
  • 100~218:POI's (Point of Interest) category linked to the track. The categories are visible in the following table.
Point types
DateTime <Time> UTC date and time of the position
Terms Of Use | Privacy Statement | Company info
  • © Cedac Sistemi srl
  • Head office: Via Toscana, 3 40035 Castiglione dei Pepoli (Italy) Tel.: +39 0534-93811 Fax: +39 0534-93899
  • Branch office: Via del Lavoro, 47 40033 Casalecchio di Reno (Italy)
  • Branch office: Via Parini, 1 40033 Casalecchio di Reno (Italy)
  • Share capital Euro 26,000.00 - Company Register of Bologna / VAT no / fiscal code 01695261204