bool SaveCompoundDictionarySource(RdsId id)
id. Moniker of composite MDM dictionary data source.
The SaveCompoundDictionarySource operation saves settings of composite MDM dictionary data source.
To execute the operation, in the id field specify moniker of composite MDM dictionary data source. The moniker can be obtained on executing the CreateCompoundDictionarySource, OpenCompoundDictionarySource operation.
The operation results in the logical true if changes were successfully saved.
Below is the example of saving composite MDM dictionary data source. The request contains data source moniker. The response contains whether changes are successfully saved.
{
"SaveCompoundDictionarySource" :
{
"id" :
{
"id" : "LFDCEOAJELGFGOAEOHNCJJKKEAEKGGDECKEPMBLACNIPJPNG!M!S!NONBODBBJELGFGOAELOJMHDMDOIMJJHKEJIFCPPBNLHMBJEEO!Sources!2"
}
}
}
{
"SaveCompoundDictionarySourceResult" : "1"
}
public static bool SaveCompoundDictionarySource(string sourceMoniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tSave = new SaveCompoundDictionarySource()
{
id = new RdsId() { id = sourceMoniker }
};
// Save changes in composite MDM dictionary data source
var tResult = somClient.SaveCompoundDictionarySource(tSave);
return tResult;
}
See also: