GetDevEnvSettings

Syntax

GetDevEnvSettingsResult GetDevEnvSettings(MbId tMb)

Parameters

tMb. Repository connection moniker.

Description

The GetDevEnvSettings operation gets development environment parameters.

Comments

To execute the operation, in the tMb fields specify repository connection moniker. The moniker can be obtained on executing the OpenMetabase operation.

The operation results in the development environment parameters.

Example

Below is the example of getting development environment parameters. The request contains repository connection moniker. The response contains parameter values.

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">
<GetDevEnvSettings xmlns="http://www.fsight.ru/PP.SOM.Som">
<tMb xsi:type="q1:OpenMetabaseResult" xmlns="" xmlns:q1="http://www.fsight.ru/PP.SOM.Som">
  <id>S1!M</id>
  <sessKey>182301</sessKey>
  <sessCookie>C1</sessCookie>
  <version>163</version>
  <defLocale>1049</defLocale>
  </tMb>
  </GetDevEnvSettings>
  </s:Body>
  </s:Envelope>

SOAP response:

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

JSON request:

{
"GetDevEnvSettings" :
{
"tMb" :
{
"@type" : "q1:OpenMetabaseResult",
"id" : "S1!M",
"sessKey" : "182301",
"sessCookie" : "C1",
"version" : "163",
"defLocale" : "1049"
}
}
}

JSON response:

{
"GetDevEnvSettingsResult" :
{
"settings" :
{
"tabSize" : "4"
}
}
}
public static GetDevEnvSettingsResult GetDevEnvSettings(MbId mb)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tGet = new GetDevEnvSettings()
{
//Repository connection moniker
tMb = mb
};
//Get development environment parameters
var result = somClient.GetDevEnvSettings(tGet);
return result;
}

See also:

Working with Development Environment