PrxMetaChartsInfo GetPrxMetaChartsInfo(string mon)
mon. Regular report instance moniker.
The GetPrxMetaChartsInfo operation gets information about regular report charts.
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.
Below is the example of getting information about regular report charts. The request contains regular report moniker. The response contains the obtained information.
{
"GetPrxMetaChartsInfo" :
{
"mon" : "S1!M!S!P1"
}
}
{
"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: