GetPrxMetaChartsInfo

Syntax

PrxMetaChartsInfo GetPrxMetaChartsInfo(string mon)

Parameters

mon. Regular report instance moniker.

Description

The GetPrxMetaChartsInfo operation gets information about regular report charts.

Comments

To execute the operation, in the mon field specify regular report instance moniker. The moniker can be obtained on executing the OpenPrxMeta operation. The operation results in the general information about existing regular report charts.

The further work with the charts can be executed using the GetPrxMetaChart and SetPrxMetaChart operations.

Example

Below is the example of getting information about regular report charts. The request contains regular report moniker. The response contains the obtained 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">
<GetPrxMetaChartsInfo xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">S1!M!S!P1</mon>
  </GetPrxMetaChartsInfo>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetPrxMetaChartsInfoResult 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">
<its xmlns="">
<it>
  <name>Chart1</name>
  <objectID>PrxChart1</objectID>
  <placementSheetKey>1</placementSheetKey>
  </it>
<it>
  <name>Chart2</name>
  <objectID>PrxChart2</objectID>
  <placementSheetKey>1</placementSheetKey>
  </it>
<it>
  <name>Indicators chart</name>
  <objectID>PrxChart3</objectID>
  <placementSheetKey>1</placementSheetKey>
  </it>
  </its>
  </GetPrxMetaChartsInfoResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetPrxMetaChartsInfo" :
{
"mon" : "S1!M!S!P1"
}
}

JSON response:

{
"GetPrxMetaChartsInfoResult" :
{
"its" :
{
"it" :
[
{
"name" : "Chart1",
"objectID" : "PrxChart1",
"placementSheetKey" : "1"
},
{
"name" : "Chart2",
"objectID" : "PrxChart2",
"placementSheetKey" : "1"
},
{
"name" : "Indicators chart",
"objectID" : "PrxChart3",
"placementSheetKey" : "1"
}
]
}
}
}
public static PrxMetaChartsInfo GetPrxCharts(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tGet = new GetPrxMetaChartsInfo()
{
mon = moniker
};
//Get information about charts
var result = somClient.GetPrxMetaChartsInfo(tGet);
return result;
}

See also:

Working with Regular Reports