GetTrackStatus

Returns a TrackStatus object containing if an opened track is present and>, if so>, also che last point

public TrackStatus GetTrackStatus(bool <byHttps>, string <userName>, string <password>, TrackStatusParameters <trackStatusParameters>, 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
TrackStatusParameters <trackStatusParameters> A TrackStatusParameters 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

TrackStatusParameters

UInt32? <Consumer> Optional. If set, the server will return the track of the consumer.

Returned Type: TrackStatus

Returns a TrackStatus object that has the following structure:

bool <IsOpen> The user's track status: 0=there is no open track, 1=there is a open track
UInt32? <Id> If there is an open track this field shows the track Id. Mandatory to get the track data. If there is no open track the value is null.
string <Description> If there is an open track this field shows the track description. If there is no open track the value is null.
DateTime <LastPointInTime> If there is an open track this field shows the UTC date and time of the last point. If there is no open track the value is null.
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