GetEtlUnpivot

Syntax

GetEtlUnpivotResult GetEtlUnpivot(EtlId tEtl)

Parameters

tEtl. Opened ETL task instance moniker.

Description

The GetEtlUnpivot operation gets data extraction settings in the crosstab mode.

Comments

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.

Example

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.

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">
<GetEtlUnpivot xmlns="http://www.fsight.ru/PP.SOM.Som">
<tEtl xmlns="">
  <id>ENAIMHDOPOEIGOAEIKGJBOMLGNPEKPJEOIFKLAKCKCFCJHKN!M!S!LBCNODJDOPOEIGOAEAACBDDFIJKHDGKNEHKAKNNDFDEABINKC</id>
  </tEtl>
  </GetEtlUnpivot>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetEtlUnpivotResult 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>ENAIMHDOPOEIGOAEIKGJBOMLGNPEKPJEOIFKLAKCKCFCJHKN!M!S!LBCNODJDOPOEIGOAEAACBDDFIJKHDGKNEHKAKNNDFDEABINKC</id>
  </id>
<props xmlns="">
<stringDataFormat>
  <useSystem>1</useSystem>
  <dateFormat>DD.MM.YYYY</dateFormat>
  <decimalSeparator>,</decimalSeparator>
  <usePredefinedDateFormats>1</usePredefinedDateFormats>
  </stringDataFormat>
  <typeGuessRows>100</typeGuessRows>
  <autoFillMode>Strings</autoFillMode>
  <filterIf />
  <leftBegin>1</leftBegin>
  <leftEnd>3</leftEnd>
  <headTop>7</headTop>
  <headBottom>7</headBottom>
  <headColumn>-1</headColumn>
  <dataTop>8</dataTop>
  <dataWidth>1</dataWidth>
  <dataRight>-1</dataRight>
  <dataBottom>-1</dataBottom>
  <fixedCells />
  <fieldsNames>1</fieldsNames>
  <fieldNamesRow>7</fieldNamesRow>
  <fieldNamesColumn>3</fieldNamesColumn>
  </props>
  </GetEtlUnpivotResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetEtlUnpivot" :
{
"tEtl" :
{
"id" : "ENAIMHDOPOEIGOAEIKGJBOMLGNPEKPJEOIFKLAKCKCFCJHKN!M!S!LBCNODJDOPOEIGOAEAACBDDFIJKHDGKNEHKAKNNDFDEABINKC"
}
}
}

JSON response:

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

Working with ETL Task