AvailableFeature IsFeatureAvailable(AvailableFeature available)
available. List of functions, which execution should be checked.
The IsFeatureAvailable operation checks if any function can be executed in the platform.
To execute the operation, in the available field specify empty values or default values for the fields, which values should be obtained.
The operation results in the list of checkboxes that determine whether the specified functions can be executed in the platform.
Below is the example of getting information about whether export to PDF can be executed.
{
"IsFeatureAvailable" :
{
"available" :
{
"pdf" : "false"
}
}
}
{
"IsFeatureAvailableResult" :
{
"pdf" : "1"
}
}
public static AvailableFeature IsFeatureAvailable()
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tGet = new IsFeatureAvailable()
{
available = new AvailableFeature()
{
pdf = new Boolean()
}
};
//Get information about export to PDF
var result = somClient.IsFeatureAvailable(tGet);
return result;
}
See also: