DeviceAdd

Creates a device for the current user returning true if the command succeeded otherwise returns false.

public bool DeviceAdd(bool <byHttps>, string <userName>, string <password>, DeviceAddParameters <deviceAddParameters>, 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
DeviceAddParameters <deviceAddParameters> A DeviceAddParameters 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

DeviceAddParameters

string <IMEI> The IMEI code of the device that will be added to the current user
string <Consumer> The call sign for the new consumer that will be automatically linked to the device with the IMEI code indicated in <IMEI> field

Returned Type: bool

Returns true if the device is created and false if the command encountered ad error.

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