GetReportEventsClasses

Syntax

GetDeclarationResult GetReportEventsClasses(OdId tObject)

Parameters

tObject. Moniker of the unit containing regular report event handler.

Description

The GetReportEventsClasses operation gets information about the class that is used used to handle regular report events.

Comments

To execute the operation, in the tObject field specify moniker of the repository object that is the unit, which implements regular report event handler. The moniker can be created based on the information about units contained in the meta.assemblies.its field of report metadata.

The operation results in the obtained information about event handler class.

Example

Below is the example of getting information about the class that handles regular report events. The request contains moniker of unit that implements the class. The response contains the obtained information about the class.

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">
<GetReportEventsClasses xmlns="http://www.fsight.ru/PP.SOM.Som">
<tObject xmlns="">
  <id>FGIIKILIDNKGGOAEHKDKIKIBDABHMEBEPKHKKCALJBCOKBMH!M!110929</id>
  </tObject>
  </GetReportEventsClasses>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetReportEventsClassesResult 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">
<result xmlns="">
<it>
  <type>Class</type>
  <moduleName>Regular report unit</moduleName>
  <name>EventsClass</name>
  <typeName>ReportEvents</typeName>
  <access>Private</access>
  </it>
  </result>
  </GetReportEventsClassesResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetReportEventsClasses" :
{
"tObject" :
{
"id" : "FGIIKILIDNKGGOAEHKDKIKIBDABHMEBEPKHKKCALJBCOKBMH!M!110929"
}
}
}

JSON response:

{
"GetReportEventsClassesResult" :
{
"result" :
{
"it" :
{
"type" : "Class",
"moduleName" : "Regular report unit",
"name" : "EventsClass",
"typeName" : "ReportEvents",
"access" : "Private"
}
}
}
}
public static GetDeclarationResult GetReportEventsClasses(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetReportEventsClasses()
{
tObject = new OdId() { id = moniker }
};
// Get list of functions in connected units
var result = somClient.GetReportEventsClasses(tGet);
return result;
}

See also:

Working with Regular Reports