CloseEax

Syntax

bool CloseEax(EaxId tEax)

Parameters

tEax. Opened express report instance moniker.

Description

The CloseEax operation closes an instance of express report.

Comments

To get information, in the tEax parameter specify moniker of express report instance that should be closed. The operation results in the logical True if the express report was closed successfully.

Example

Below is the example of closing an express report instance. The request contains the express report moniker. The response contains whether closing was 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">
<CloseEax xmlns="http://www.fsight.ru/PP.SOM.Som">
<tEax xmlns=" ">
  <id>S1!M!S!E11</id>
  </tEax>
  </CloseEax>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <CloseEaxResult 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</CloseEaxResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
 "CloseEax" : 
  {
   "tEax" : 
    {
     "id" : "S1!M!S!E1"
    }
  }
}

JSON response:

{
 "CloseEaxResult" : "1"
}
    public static bool CloseEax(EaxId moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseEax()
{
tEax = moniker
};
//Close express report
var result = somClient.CloseEax(tClose);
return result;
}

See also:

Working with Express Reports