GetTrackFriendsListToXml

Returns the list of friends who shared their tracks in Xml format

public XmlDocument GetTrackFriendsList(bool <byHttps>, string <userName>, string <password>, TrackFriendsListParameters <trackFriendsListParameters>, 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
TrackFriendsListParameters <trackFriendsListParameters> A TrackFriendsListParameters 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

TrackFriendsListParameters

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 500.
UInt32? <MinItem> Used for paging results. If set returns points greater than this value.

Returned Type: XmlDocument

Returns an XML Document with the following structure:

<?xml version="1.0" encoding="utf-8" ?> 
<furesult>
	<message><![CDATA[ OK ]]></message>
	<items>
		<item>
			<id>8a54781a-fdg5-6788-56gh-7646g8g45678</id>
			<description><![CDATA[Mario]]></description>
			<avatar><![CDATA[http://urlavatar]]></avatar>
			<tottrack>5</tottrack>
			<lasttracktime>20101004163025</lasttracktime>
		</item> 
		<item>
			<id>5j57563h-tnj4-8765-88mn-6846d2n87654</id>
			<description><![CDATA[Giorgio]]></description>
			<avatar><![CDATA[http://urlavatar]]></avatar>
			<tottrack>6</tottrack>
			<lasttracktime>20101004184032</lasttracktime>
		</item>
	</items>
</furesult>

 

Where

  • <message> contains OK or Error description
  • <items> if the command has succeeded and <message> is OK this tag exists and contains the list of the track with following node:
    • <item> each element of the list, can be repeated more times and contains the following tags:
      • <id> The Unique Identifier of the friend: necessary to get this friend's tracks
      • <description> Friend's user name
      • <avatar> Friend's avatar URL
      • <tottrack> Friend's total number of tracks
      • <lasttracktime> Last friend's track starting time in yyyyMMddhhmmss format
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