CloseDashboard

Syntax

bool CloseDashboard(string mon)

Parameters

mon. Moniker of opened information panel instance.

Description

The CloseDashboard operation closes information panel instance.

Comments

To execute the operation, in the mon field specify moniker of opened information panel instance. The moniker can be obtained on executing the OpenDashboard operation.

The operation results in the logical true if information panel instance was closed successfully.

Example

Below is the example of closing information panel instance. The request contains moniker of opened information panel instance. The response contains whether closing is successful.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CloseDashboard xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">NGDHDGCPEHADGOAENOBLDBIDDCDEGILEPLMLPCIIGMNMBLKH!M!S!PLHPAOLCPEHADGOAEAHKONCEDOLHDDIAEGIKMEIJNDDGMDEOI</mon>
  </CloseDashboard>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <CloseDashboardResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1</CloseDashboardResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"CloseDashboard" :
{
"mon" : "NGDHDGCPEHADGOAENOBLDBIDDCDEGILEPLMLPCIIGMNMBLKH!M!S!PLHPAOLCPEHADGOAEAHKONCEDOLHDDIAEGIKMEIJNDDGMDEOI"
}
}

JSON response:

{
"CloseDashboardResult" : "1"
}
public static bool CloseDashboard(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tClose = new CloseDashboard()
{
mon = moniker
};
// Close information panel instance
var b = somClient.CloseDashboard(tClose);
return b;
}

See also:

Working with Information Panel