Contact support

Integrations & Payroll Export

Fourth API Configuration Notes

Fourth

Document for updating special characters into XML.

Customer: Fourth

Situation: When updating the API config for the Fourth customer with a credentials which had the character '&'. I updated it as '&' and processed, which created an error to stop all the API settings on that farm. Since XML cannot work with certain characters, we need to update them differently while configuring it on our end.

Certain characters must be updated as shown below:

  1. " to "
  2. ' to '
  3. < to &lt;
  4. > to &gt;
  5. & to &amp;

For example, if we have a config details as 23wer&25, then on the XML it should be updated as 23wer&amp;25. The XML will format it on its end and consider &amp; as & on the final end. The same with other characters mentioned.

Note: Clients.xml is XML markup that is strict in terms of format. Whenever the changes are to be introduced it is highly advised to use any XML editor for it and not just a regular notepad. One example of editor is: https://checkpoint.url-protection.com/v1/url?o=https%3A//jsonformatter.org/xml-editor&g=MjEzZGNlZDUwMDA3NmUxNA==&h=NmZmODIzODkzN2IyMDY3Yzc5YTJhYzViZThhNmUzNTJmY2I2ZDAwZDJkZjc2OTU0NjViYzI3YWRmMGUyZDk5NQ==&p=Y3AxOnN5bmFsOmNoZWNrcG9pbnQ6b2ZmaWNlMzY1X2VtYWlsc19lbWFpbDowZDI2NDJlODA3MWVlZGFkMmE2M2M5YWEwMmZmODZhMzp2MQ==