I am writing an application which makes many generated API calls, to update Insight fields.
Many values I am updating are multiline strings, like this one:
{
"objectTypeId": 678,
"attributes": [
{
"objectTypeAttributeId": 2759,
"objectAttributeValues": [
{
"value": "C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\address
C:\Windows
C:\
E:\
C:\ExchangeSetupLogs
C:\Windows\SYSVOL\sysvol\ritestkobe.local\SCRIPTS
C:\Windows\SYSVOL\sysvol"
}
]
}
]
}
There are several other requests like this, containing many and more lines.
The problem is, a request containing a value with multiple lines is returning an internal server error.
Is there anyway to post multiline values to Insight objects through the API? If not, I would really appreciate any suggestions to solve this issue.