GetEtlUnpivotResult GetEtlUnpivot(EtlId tEtl)
tEtl. Opened ETL task instance moniker.
The GetEtlUnpivot operation gets data extraction settings in the crosstab mode.
The operation can be called after executing the CreateEtlUnpivot operation and before executing the CloseEtlUnpivot operation. To execute the operation, in the tEtl field specify moniker of opened ETL task instance. The moniker can be obtained after executing the OpenEtl operation.
The operation results in the data extraction settings in the crosstab mode specified for the source, for which the CreateEtlUnpivot operation was executed.
Below is the example of getting data extraction settings in the crosstab mode, which are currently used in the ETL task. The request contains moniker of opened ETL task instance. The response contains the obtained settings.
{
"GetEtlUnpivot" :
{
"tEtl" :
{
"id" : "ENAIMHDOPOEIGOAEIKGJBOMLGNPEKPJEOIFKLAKCKCFCJHKN!M!S!LBCNODJDOPOEIGOAEAACBDDFIJKHDGKNEHKAKNNDFDEABINKC"
}
}
}
{
"GetEtlUnpivotResult" :
{
"id" :
{
"id" : "ENAIMHDOPOEIGOAEIKGJBOMLGNPEKPJEOIFKLAKCKCFCJHKN!M!S!LBCNODJDOPOEIGOAEAACBDDFIJKHDGKNEHKAKNNDFDEABINKC"
},
"props" :
{
"stringDataFormat" :
{
"useSystem" : "1",
"dateFormat" : "DD.MM.YYYY",
"decimalSeparator" : ",",
"usePredefinedDateFormats" : "1"
},
"typeGuessRows" : "100",
"autoFillMode" : "Strings",
"filterIf" : "",
"leftBegin" : "1",
"leftEnd" : "3",
"headTop" : "7",
"headBottom" : "7",
"headColumn" : "-1",
"dataTop" : "8",
"dataWidth" : "1",
"dataRight" : "-1",
"dataBottom" : "-1",
"fixedCells" : "",
"fieldsNames" : "1",
"fieldNamesRow" : "7",
"fieldNamesColumn" : "3"
}
}
}
public static GetEtlUnpivotResult GetEtlUnpivot(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetEtlUnpivot()
{
tEtl = new EtlId() { id = moniker }
};
// Get data extraction settings in the crosstab mode
var result = somClient.GetEtlUnpivot(tGet);
return result;
}
See also: