ConsumerUpdate

Updates consumer's data returning how many consumers have been updated.

public uint? ConsumerUpdate(bool <byHttps>, string <userName>, string <password>, ConsumerUpdateParameters <consumerUpdateParameters>, 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
ConsumerUpdateParameters <consumerUpdateParameters> A ConsumerUpdateParameters 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

ConsumerUpdateParameters

int <ConsumerId> Mandatory, is the id of the consumer to edit
string <Description> Optional, the new consumer's description. Note that if no value is set for this parameter this field will maintain the previous value.
string <CallSign> Optional, the new consumer's CallSign. Note that if no value is set for this parameter this field will maintain the previous value.
string <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.
string <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.
string <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.
string <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.

Returned Type: UInt32?

Returns a nullable Unsigned Int with the number of the consumers successfully updated

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