XML Encoding Special Characters

There are some special characters that cannot be included in your XML document, these include: ampersands, greater than, less than, quotes, apostrophes and line breaks. All of these characters need to be XML encoded. Please see the following examples:

To include an ampersand (&) in your job data, you should send:

&

To include a greater than sign (>) in your job data, you should send:

>

To include a less than sign (<) in your job data, you should send:

&lt;

 To include a quote (") in your job data, you should send:

&quot;

 To include an apostrophe (') in your job data, you should send:

&apos;

 To include a line break in your custom field data, you should send:

&#10;

For example if you wish to create a blank custom field called "Time & Materials" you would need to send the following XML via the API:

<custom_field>
<name>Time &amp; Materials</name>
<value></value>
</custom_field>



Need more information? ask us hereHave more questions? Submit a request