PrxMetaRefreshDataSources

Syntax

bool PrxMetaRefreshDataSources(string mon)

Parameters

mon. Moniker of opened regular report instance.

Description

The PrxMetaRefreshDataSources operation reopens data sources of regular report.

Comments

To execute the operation, in the mon field specify moniker of opened regular report instance. The moniker can be obtained on executing the OpenPrxMeta operation.

The operation results in the logical True if sources were reopened successfully.

Example

Below is the example of reopening regular report data sources. The request contains moniker of opened regular report instance. The response contains whether data sources were reopened successfully.

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">
<PrxMetaRefreshDataSources xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">DDCGFGHHDPJPFOAEIAEOEKEJFPJPKKMEGIELPHHJALIADBGO!M!S!PLFCDELHHDPJPFOAEJODECPNDPFIAMPPEDLADDMBCHPBFKIAH</mon>
  </PrxMetaRefreshDataSources>
  </s:Body>
  </s:Envelope>

SOAP response:

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

JSON request:

{
"PrxMetaRefreshDataSources" :
{
"mon" : "DDCGFGHHDPJPFOAEIAEOEKEJFPJPKKMEGIELPHHJALIADBGO!M!S!PLFCDELHHDPJPFOAEJODECPNDPFIAMPPEDLADDMBCHPBFKIAH"
}
}

JSON response:

{
"PrxMetaRefreshDataSourcesResult" : "1"
}
public static bool PrxMetaRefreshDataSources(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tRef = new PrxMetaRefreshDataSources()
{
mon = moniker
};
// Reopen data sources
var result = somClient.PrxMetaRefreshDataSources(tRef);
return result;
}

See also:

Working with Regular Reports