GetRadarIFrameToShowToXml

Returns a one-shot token in Xml format in order to render MyWakes Radar Gadget

public XmlDocument GetRadarIFrameToShowToXml(bool <byHttps>, string <userName>, string <password>, RadarTokenParameters <radarTokenParameters>, 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
RadarTokenParameters <radarTokenParameters> A RadarTokenParameters 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

RadarTokenParameters

Border <BorderType> The Iframe border type. Default is “Empty
UInt32 <Height> Iframe window height.
Languages <Language> Iframe language: English, Italian or French
MapType <MapTipology> Map type: Map, Satellite, Hybrid or Terrain
RadarTypes <RadarType> Radar type: Private, Friends, Public
SecureIFrame <Secure> Set Iframe protocol: Http, Https, NoProtocolChange
String <Title> Title of Iframe window.
UInt32 <Width> Iframe window width.

Returned Type: XmlDocument

Returns an XML Document with the following structure:

<?xml version="1.0" encoding="utf-8" ?>
<furesult> 
	<message><![CDATA[ OK ]]></message>
	<token>669a437b-4fde-44c3-8dd4-2ab2837dd944</token>
	<iframe><![CDATA[ <iframe id="track_gadget_direct"
		src="https://www.mywakes.com/userspub/radargadgetdirect.aspx
		?token=669a437b-4fde-44c3-8dd4-2ab2837dd944&la=en-US
		&ty=1&border=empty&width=950&height=700&title=Radar%20viewer" 
		frameborder="0" width="950" height="725"></iframe> ]]>
	</iframe>
	<gadgeturl><![CDATA[ https://www.mywakes.com/userspub/user_radargadgetshow.aspx
		?token=669a437b-4fde-44c3-8dd4-2ab2837dd944&la=en-US
		&ty=1 ]]></gadgeturl>
</furesult>

 

Where

  • <message> contains OK or Error description
  • <token> a Unique Identifier that represent the request. Only if <message> is OK
  • <iframe> contains the full code that will render the MyWakes Gadget according to the setting put in input parameters. This string contains also the <iframe> and </iframe> tags. Only if <message> is OK
  • <gadgeturl> contains the URL address used to show the radar gadget in desktop applications. Only if <message> is OK
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