Getting the Configuration

The get_configuration method returns all the configuration parameters and their values. This includes the parameters in the following locations:

  • /home/afa/.fa/config
  • /home/afa/.fa/machine_config

Request Type: GetConfigurationRequest

Element

Type

Description

SessionID

Mandatory

String

AFA session ID.

Response Type: GetConfigurationResponse

Element

Type

Description

parameter

List of KeyValue

objects

List of key/value pairs for the configuration parameters. See KeyValue type type.

Request example:

<GetConfigurationRequest>
    <SessionID>107220f9f300f936cf743ee29bea9d38D</SessionID>
</GetConfigurationRequest>

Response example:

<GetConfigurationResponse>
    <parameter>
        <key>KEY1</key>
        <value>VAL1</value>
    </parameter>
    <parameter>
        <key>KEY2</key>
        <value>VAL2</value>
    </parameter>
    <parameter>
        <key>KEY2</key>
        <value>VAL2</value>
    </parameter>
    <parameter>
        <key>KEY1</key>
        <value>VAL1</value>
    </parameter>
    <!-- ... -->
    <parameter>
        <key>KEYN</key>
        <value>VALN</value>
    </parameter>
</GetConfigurationResponse>