Question

Starting from PBA-E 4.4.5 tag <string> appeared in XML API responses, like in the example below:

<array>
  <data>
    <value><i4>175</i4></value>
    <value><string>SO</string></value>
    <value><i4>1000217</i4></value>
  </data>
</array>

In previous versions the same response would look like this:

<array>
  <data>
    <value><i4>175</i4></value>
    <value>SO</value>
    <value><i4>1000217</i4></value>
  </data>
</array>

Is it possible to remove <string> tag from API responses?

Answer

In order to skip tag in XML API replies create the file /usr/local/bm/etc/ssm.conf.d/xmlrpcd.conf on PBA-E core server with the following content:

[environment]
SkipStringTag=1

If the file already exists just add above content to it.

Restart XML RPC server to apply the changes:

# /etc/init.d/pba restart xmlrpcd

Note! Due to bug PBA-55777 above functionality is not available in PBA 5.5.1 - 5.5.4 versions.

Internal content