CompoundDictionarySourceResult GetCompoundDictionarySource(RdsId id, RdsCompoundDictSourcePattern tArg)
mon. Moniker of composite MDM dictionary data source.
tArg. Pattern for getting metadata of composite MDM dictionary data source.
The GetCompoundDictionarySource operation gets settings of composite MDM dictionary data source.
To execute the operation, in the tRds field specify moniker of composite MDM dictionary data source, and in the tArg field specify the pattern that will be used to get data source settings. The moniker can be obtained on executing the CreateCompoundDictionarySource, OpenCompoundDictionarySource operation.
The operation results in the obtained data source settings.
Below is the example of getting settings of composite MDM dictionary data source. The request contains data source moniker. The response contains the obtained settings.
{
"GetCompoundDictionarySource" :
{
"id" :
{
"id" : "LFDCEOAJELGFGOAEOHNCJJKKEAEKGGDECKEPMBLACNIPJPNG!M!S!NONBODBBJELGFGOAELOJMHDMDOIMJJHKEJIFCPPBNLHMBJEEO!Sources!1"
},
"tArg" :
{
"all" : "true"
}
}
}
{
"GetCompoundDictionarySourceResult" :
{
"id" :
{
"id" : "LFDCEOAJELGFGOAEOHNCJJKKEAEKGGDECKEPMBLACNIPJPNG!M!S!NONBODBBJELGFGOAELOJMHDMDOIMJJHKEJIFCPPBNLHMBJEEO!Sources!1"
},
"meta" :
{
"k" : "1",
"id" : "COMPOUNDDICTIONARYSOURCE",
"n" : "Source",
"vis" : "1",
"source" :
{
"@ds" : "",
"@isShortcut" : "0",
"@isLink" : "0",
"@ver" : "5",
"@hf" : "0",
"i" : "OBJ305385",
"n" : "Enterprises",
"k" : "305385",
"c" : "3076",
"p" : "5610",
"h" : "0",
"hasPrv" : "0",
"ic" : "0",
"trackElementDependents" : "0"
},
"mappings" : ""
}
}
}
public static CompoundDictionarySourceResult GetCompoundDictionarySource(string sourceMoniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetCompoundDictionarySource()
{
tArg = new RdsCompoundDictSourcePattern()
{
all = true
},
id = new RdsId() { id = sourceMoniker }
};
// Get settings of composite MDM dictionary data source
var tResult = somClient.GetCompoundDictionarySource(tGet);
return tResult;
}
See also: