CloseCubeImport

Syntax

bool CloseCubeImport(CubeImportId tCubeImport)

Parameters

tCubeImport. Cube data import object moniker.

Description

The CloseCubeImport operation closes an instance of data import to cube and returns whether the instance is closed successfully.

Comments

To execute the operation, in the tCubeImport parameter specify moniker of import object moniker that should be closed. The operation results in the logical True if the object was closed successfully.

Example

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">
<CloseCubeImport xmlns="http://www.fsight.ru/PP.SOM.Som">
<tCubeImport xmlns="">
  <id>APJPBGEDEHLPFOAEJOPLMILHOOECMEPEOJKDMJHCGFMKDNKM!M!S!IDGLAIGEDEHLPFOAEPEOHNINBKMJBOEEEAINBLLIJNBNHEPDJ</id>
  </tCubeImport>
  </CloseCubeImport>
  </s:Body>
  </s:Envelope>

SOAP response:

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

JSON request:

{
"CloseCubeImport" :
{
"tCubeImport" :
{
"id" : "APJPBGEDEHLPFOAEJOPLMILHOOECMEPEOJKDMJHCGFMKDNKM!M!S!IDGLAIGEDEHLPFOAEPEOHNINBKMJBOEEEAINBLLIJNBNHEPDJ"
}
}
}

JSON response:

{
"CloseCubeImportResult" : "1"
}
public static bool CloseCubeImport(CubeImportId id)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseCubeImport()
{
tCubeImport = id
};
//Close object of data import to cube
var result = somClient.CloseCubeImport(tClose);
return result;
}

See also:

Working with Cubes