consumerupdate
Update consumer's data.
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: “consumerupdate”.
-
txtFormat optional field specifies txtParameters and response formats. more info.
-
txtParameter field contains a structure like this:
Where
-
<consumerid> mandatory. The id of the consumer to edit
-
<description> optional. The new consumer's description. Note that if no value is set for this parameter this field will maintain the previous value
-
<callsign> optional. The new consumer's CallSign. Note that if no value is set for this parameter this field will maintain the previous value
-
<radardescription> optional. The new description that will appear in the radar for that consumer after radar refresh (if the value is empy the consumer's radar will show the CallSign as description). Note that if no value is set for this parameter this field will maintain the previous value
-
<radardescriptioncolor> optional. The new color of the description's text that will appear near the consumer's icon in the radar after its refresh. This is expressed in RRGGBB format. Note that if no value is set for this parameter this field will maintain the previous value
-
<radardescriptionbgcolor> optional. The new color of the description's background that will appear near the consumer's icon in the radar after its refresh. This is expressed in RRGGBB format. Note that if no value is set for this parameter this field will maintain the previous value
-
<radardescriptionbordercolor> optional. The new color of the description's border that will appear near the consumer's icon in the radar after its refresh. This is expressed in RRGGBB format. Note that if no value is set for this parameter this field will maintain the previous value
-
<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:
“consumerupdate20101112173025xxxx”
Therefore the txtProvider field will be:
“76a865d4-fab8-51cd-ba78-2da325f6955axxxx”