Currently when using API 'PUT' and enter value '\n' it is converted as a 'newline' instead of retaining the character '\n' in a text-data macro that is of type 'line'
This feature request was actually found to be a Bug. We have notified the development team and submitted a Bug Report
More specifically, if \n is used in a text-data macro that is of a line type it puts a newline. Text-data macros that are of a line type should not allow newline characters to be placed in the field, regardless of where the data is coming from (UI or API).
You won't be notified about changes to this idea.