GetCompoundDictionarySource

Syntax

CompoundDictionarySourceResult GetCompoundDictionarySource(RdsId id, RdsCompoundDictSourcePattern tArg)

Parameters

mon. Moniker of composite MDM dictionary data source.

tArg. Pattern for getting metadata of composite MDM dictionary data source.

Description

The GetCompoundDictionarySource operation gets settings of composite MDM dictionary data source.

Comments

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.

Example

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.

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">
<GetCompoundDictionarySource xmlns="http://www.fsight.ru/PP.SOM.Som">
<id xmlns="">
  <id>LFDCEOAJELGFGOAEOHNCJJKKEAEKGGDECKEPMBLACNIPJPNG!M!S!NONBODBBJELGFGOAELOJMHDMDOIMJJHKEJIFCPPBNLHMBJEEO!Sources!1</id>
  </id>
<tArg xmlns="">
  <all>true</all>
  </tArg>
  </GetCompoundDictionarySource>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetCompoundDictionarySourceResult 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">
<id xmlns="">
  <id>LFDCEOAJELGFGOAEOHNCJJKKEAEKGGDECKEPMBLACNIPJPNG!M!S!NONBODBBJELGFGOAELOJMHDMDOIMJJHKEJIFCPPBNLHMBJEEO!Sources!1</id>
  </id>
<meta xmlns="">
  <k>1</k>
  <id>COMPOUNDDICTIONARYSOURCE</id>
  <n>Source</n>
  <vis>1</vis>
<source ds="" isShortcut="0" isLink="0" ver="5" hf="0">
  <i>OBJ305385</i>
  <n>Enterprises</n>
  <k>305385</k>
  <c>3076</c>
  <p>5610</p>
  <h>0</h>
  <hasPrv>0</hasPrv>
  <ic>0</ic>
  <trackElementDependents>0</trackElementDependents>
  </source>
  <mappings />
  </meta>
  </GetCompoundDictionarySourceResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetCompoundDictionarySource" :
{
"id" :
{
"id" : "LFDCEOAJELGFGOAEOHNCJJKKEAEKGGDECKEPMBLACNIPJPNG!M!S!NONBODBBJELGFGOAELOJMHDMDOIMJJHKEJIFCPPBNLHMBJEEO!Sources!1"
},
"tArg" :
{
"all" : "true"
}
}
}

JSON response:

{
"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:

Working with MDM Dictionaries