GetTrackListToDataTable

Returns the list of user's tracks into a DataTable

public DataTable GetTrackListToDataTable(bool <byHttps>, string <userName>, string <password>, TrackListParameters <trackListParameters>, string <tableName>, 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
TrackListParameters <trackListParameters> A TrackListParameters object containing command's specific parameters
string <tableName> A string containing the name of the returned DataTable
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

TrackListParameters

Uint32? <Consumer> Consumer Id by which search the tracks
DateTime? <DateTimeFrom> Set the starting date for searching tracks
DateTime? <DateTimeTo> Set the ending date for searching tracks
UInt32? <Friend> If set return a list of friend's tracks
UInt32? <MaxItem> Used for paging results. If set returns tracks 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 500.
UInt32? <MinItem> Used for paging results. If set returns tracks greater than this value.
UpdatePositionValue <UpdatePosition> If set returns tracks that have <updateposition> = 0 (NoUpdateRadar), <updateposition> = 1 (UpdateRadar), <updateposition> = 2 (All). Default is All.

Returned Type: DataTable

Returns a DataTable with the following structure:

int <Id> The Id of the track: it's the only way to identify the track.
string <Description> A string containing the track's description given by the user
int <AutoClosed> This value can be -1=track open, 0= track closed correctly, 1=track closed by the server
DateTime <StartTime> UCT date and time when the Track has been created
DateTime <EndTime> UCT date and time when the Track has been closed (this value exists only if the track is closed)
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