trackconsumerslist
Returns the list of the consumers that own tracks. If unassigned tracks are present this command returns also a consumer with ID equal to 0 (zero).
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: “trackconsumerslist”.
-
txtFormat optional field specifies txtParameters and response formats. more info.
-
txtParameter field contains a structure like this:
Where
-
<completelist> optional. Set if the list must be complete or those who own at least one track and can be:
-
0 (zero) returns only consumers who own at least one track. This is the default value.
-
1 (one) returns all consumers.
-
2 returns only the consumers who can turn on or turn off antitheft.
-
<devicetype> optional. Sets if the command must return only consumers that are using the requested device type.
-
<minitem> optional. Used for paging results. If set returns consumers greater than this value.
-
<maxitem> optional. 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.
-
<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:
“trackconsumerslist20101112173025”
Therefore the txtProvider field will be:
“76a865d4-fab8-51cd-ba78-2da325f6955a”