trackstop
Close the previous opened track. If no open track is found the command will be ignored. If the current track contains no trackpoint the track will be deleted.
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: “trackstop”.
-
txtFormat optional field specifies txtParameters and response formats. more info.
-
txtParameter field contains a structure like this:
Where
-
<imei> mandatory. It is the IMEI of the device which refers to the track to close.
-
<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:
“trackstop20101112173025xxxxxxxxx”
Therefore the txtProvider field will be:
“76a865d4-fab8-51cd-ba78-2da325f6955axxxxxxxxx”