ConsumerLoadToXml

Returns the details of specified consumer in XML format.

public XmlDocument ConsumerLoadToXml(bool <byHttps>, string <userName>, string <password>, ConsumerLoadParameters <consumerLoadParameters>, 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
ConsumerLoadParameters <consumerLoadParameters> A ConsumerLoadParameters 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

ConsumerLoadParameters

int <ConsumerId> The id of the consumer to load

Returned Type: XmlDocument

Returns an XML Document with the following structure:

<?xml version="1.0" encoding="utf-8" ?> 
<furesult>
	<message><![CDATA[ OK ]]></message>
	<consumerid>44</consumerid>
	<description><![CDATA[Fiat Doblo]]></description>
	<callSign><![CDATA[I1234]]></callSign>
	<radarDescription><![CDATA[AA 999 AA]]></radarDescription>
	<radarDescriptionColor>000000</radarDescriptionColor>
	<radarDescriptionBGColor>FFFFFF</radarDescriptionBGColor>
	<radarDescriptionBorderColor>FF0000</radarDescriptionBorderColor>
</furesult>

 

Where

  • <message> contains OK or Error description
  • <consumerid> contains the consumer's Id
  • <description> consumer's description
  • <callSign> consumer's Call Sign
  • <radarDescription> consumer's radar description
  • <radarDescriptionColor> consumer's radar description color
  • <radarDescriptionBGColor> consumer's radar description background color
  • <radarDescriptionBorderColor> consumer's radar description border color
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