GetPrxMetaOptions

Syntax

PrxMetaOptions GetPrxMetaOptions(string mon, PrxMetaOptions tArg)

Parameters

mon. Moniker to work with regular report settings.

tArg. Regular report settings to get.

Description

The GetPrxMetaOptions operation gets regular report settings.

Comments

To execute the operation, in the mon field specify moniker of regular report instance with the !Options postfix. In the tArg field set empty values or default values for the fields, which values should be obtained. The moniker can be obtained on executing the OpenPrxMeta operation.

The operation returns requested settings.

Example

Below is the example of getting regular report settings. The request contains moniker for working with regular report settings and a list of the fields, which values should be obtained. The response contains requested information.

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">
<GetPrxMetaOptions xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">S1!M!S!P1!Options</mon>
<tArg xmlns="">
  <displayTabs>false</displayTabs>
  <updateSettings />
  </tArg>
  </GetPrxMetaOptions>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetPrxMetaOptionsResult 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">
  <displayTabs xmlns="">1</displayTabs>
<updateSettings xmlns="">
  <updateByIntervalEnabled>0</updateByIntervalEnabled>
  <autoUpdateByData>1</autoUpdateByData>
  <AutoUpdateInterval>5</AutoUpdateInterval>
  <autoUpdateIntervalUnits>Minutes</autoUpdateIntervalUnits>
  </updateSettings>
  </GetPrxMetaOptionsResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetPrxMetaOptions" :
{
"mon" : "S1!M!S!P1!Options",
"tArg" :
{
"displayTabs" : "false",
"updateSettings" : ""
}
}
}

JSON response:

{
"GetPrxMetaOptionsResult" :
{
"displayTabs" : "1",
"updateSettings" :
{
"updateByIntervalEnabled" : "0",
"autoUpdateByData" : "1",
"AutoUpdateInterval" : "5",
"autoUpdateIntervalUnits" : "Minutes"
}
}
}
public static PrxMetaOptions GetPrxMetaOptions(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tGet = new GetPrxMetaOptions()
{
tArg = new PrxMetaOptions()
{
displayTabs = new bool(),
updateSettings = new ViewerUpdateSettings()
},
mon = moniker + "!Options"
};
//Get regular report settings
var result = somClient.GetPrxMetaOptions(tGet);
return result;
}

See also:

Working with Regular Reports