GetTrackConsumersListToDataTable

Returns the consumer's list into a DataTable

public DataTable GetTrackConsumersListToDataTable(bool <byHttps>, string <userName>, string <password>, TrackConsumerListParameters <trackConsumerListParameters>, 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
TrackConsumerListParameters <trackConsumerListParameters> A TrackConsumerListParameters 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

TrackConsumerListParameters

ListTipology <CompleteList> OnlyUserByTrack = 0, All = 1, UserByAntitheft = 2
UInt32? <DeviceType> Specify the device type to show in that list.
UInt32? <MaxItem> Used for paging results. If set returns consumers 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 consumers greater than this value.

Returned Type: DataTable

Returns a DataTable with the following structure:

int <Id> The consumer's Id: it's the only way to identify the consumer and then get the consumer's related tracks.
string <CallSign> The consumer's identifier
string <Description> The consumer's description set by the user
int <TotTrack> The total number of the existing tracks for that consumer
DateTime <LastTrackTime> The starting date and time of the last track in UTC
Decimal <Odometer> The odometer's value for the current consumer
Decimal <Hoursmeter> The hoursmeter's value for the current consumer
Decimal <Lat> 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. This is the last known latitude. This field is present only if input object trackConsumerListParameters has the parameter value CompleteList set to ListTipology.UserByAntitheft
Decimal <Lon> 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. This is the last known longitude. This field is present only if input object trackConsumerListParameters has the parameter value CompleteList set to ListTipology.UserByAntitheft
DateTime <Latlontime> UTC date and time of the last known position. This field is present only if input object trackConsumerListParameters has the parameter value CompleteList set to ListTipology.UserByAntitheft
bool <AntiTheft> Represents the status of anti theft: 0=anti theft not activated, 1=anti theft activated. This field is present only if input object trackConsumerListParameters has the parameter value CompleteList set to ListTipology.UserByAntitheft
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