CloseRds

Syntax

bool CloseRds(RdsId tRds)

Parameters

tRds. Opened MDM dictionary instance moniker.

Description

The CloseRds operation closes an opened MDM dictionary instance.

Comments

To execute the operation, in the tRds parameter specify the moniker of the MDM dictionary instance to be closed. The operation results in the logical True if the object was closed successfully.

Example

The example of closing the MDM dictionary instance. The request contains moniker of opened dictionary instance. The response indicates whether closing was successful.

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">
<CloseRds xmlns="http://www.fsight.ru/PP.SOM.Som">
<tRds xmlns="">
  <id>S1!M!S!N2</id>
  </tRds>
  </CloseRds>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <CloseRdsResult 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">1</CloseRdsResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"CloseRds" :
{
"tRds" :
{
"id" : "S1!M!S!N2"
}
}
}

JSON response:

{
"CloseRdsResult" : "1"
}
public static bool CloseRDSDimension(RdsId moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseRds()
{
tRds = moniker
};
//Close dictionary instance
var b = somClient.CloseRds(tClose);
return b;
}

See also:

Working with MDM Dictionaries