SetTrackPointsToXml

Sets a point of the track returning feedback in Xml format

public XmlDocument SetTrackPointsToXml(bool <byHttps>, string <userName>, string <password>, TrackPointParameters <trackPointParameters>, 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
TrackPointParameters <trackPointParameters> A TrackPointParameters 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

TrackPointParameters

string <IMEI> Mandatory. It is the IMEI of the device that generated the points.
List<TrackPoint> <TrackPoints> A list of TrackPoint

TrackPoint

decimal <Accuracy> Accuracy of the point.
decimal <Altitude> Altitude of the point.
decimal <AltitudeAccuracy> Altitude's accuracy of the point.
decimal <Heading> Direction of consumer.
decimal <Latitude> Latitude of the point.
decimal <Longitude> Longitude of the point.
decimal <Odometer> Odometer value of the consumer at this point.
decimal <Hoursmeter> Hoursmeter value of the consumer at this point.
string <Message> A text message to associate to the point.
decimal <Speed> Consumer's speed.
UInt32 <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 <OperationTime> Date and time of current point

Returned Type: XmlDocument

Returns an XML Document with the following structure:

<?xml version="1.0" encoding="utf-8"?>
<furesult>
	<message><![CDATA[ OK ]]></message>
</furesult>

 

Where

  • <message> contains OK or Error description
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