Hi!
I've been trying to rack my brain around this but don't seem to be able to find a solution.
I'm trying to use the Insight REST API (https://insight-javadoc.riada.io/insight-javadoc-8.6/insight-rest/#) and more specifically the POST /attachments/object/{objectId} endpoint to send an attachment thru (preferably) Powershell and attach it to an existing object.
The attachment itself is located on disk.
While I have plenty of experience with regular REST API calls with the headers and JSON payload, this one just seems to elude me..
Is there anyone that has some better examples that the documentation page or actually has build a Powershell (or Python/some other language) script that will take a local file and attach it to an Insight object?
All help here would be appreciated!