tracklist
Returns the list of user's tracks. Tracks are ordered by opening day time in descending order.
Command's fields description:
-
txtUser1 field is the “username” of MyWakes account.
-
txtUser2 field is the “password” of MyWakes account.
-
txtCommand field contains the command: “tracklist”.
-
txtFormat optional field specifies txtParameters and response formats. more info.
-
txtParameter field contains a structure like this:
Where
-
<updateposition> optional. This field is not useful if getting friend's track list. Can be:
-
0 (zero) returns tracks with updateposition set to 0 (zero).
-
1 (one) returns tracks with updateposition set to 1 (one).
-
2 (two) returns all tracks. This is the default value.
-
<consumer> optional. Consumer Id by which search the tracks. If set to 0 (zero) returns tracks of unidentified user.
-
<friend> optional. If set return a list of friend's tracks. If also <consumer> field is set, this field will be ignored.
-
<from> optional, date and time in UTC. The accepted format is “yyyyMMddhhmmss”. If set returns tracks with the end time greater than or equal to this value.
<to> optional, date and time in UTC. The accepted format is “yyyyMMddhhmmss”. If set returns tracks with the start time less than or equal to this value.
-
<minitem> optional. Used for paging results. If set returns tracks greater than this value.
-
<maxitem> optional. 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.
-
<time> mandatory, date and time in UTC. The accepted format is “yyyyMMddhhmmss”.
-
txtProvider field must contain the application calling ID and generated characters.
-
txtSignature field must contain the signature based on the string made of “Command Name” + “time” + “generated character to 32”.
Looking at the previous example, the string on which calculate the check will be:
“tracklist20101112173025xxxxxxxxx”
Therefore the txtProvider field will be:
“76a865d4-fab8-51cd-ba78-2da325f6955axxxxxxxxx”