Since the new API implementation, this has… broken most of the automation we had in place. I am now stuck with trying to work out how to Upload an attachment through Python for this, previously this worked - API and File Attachments but since API changes, it sadly decided to not work anymore, anyone know how we can upload attachments again?
I have been through the API and it has a POST option with the following data
{
“Date”: “0001-01-01”,
“Name”: null,
“ContentType”: null,
“Size”: 0,
“Object”: null
}
Uploading attachment through API was actually never supported. The topic shows workaround through user facing URL endpoints but these have changed a few months ago.
For your integration less likely to break in the future, attachment upload will need to be supported by API directly.
Just wondering if this was on the roadmap, the ability to do fileuploads via API?
If not how much of a extra donation above the yearly server subscription pricing would it cost to have this expedited?
FYI, I have updated the Python module for Manager API to allow attaching files to objects. As before, it is not an officially supported API function, but it is working (same basic idea/method as before, but now with the protobuf URL encoding).
If you are not using Python, then you could use the source to translate into your programming language of choice.
Yes we are using Python as we are using Django Framework with this.
I might fork your project and upstream any changes / features we add / enchance for you also.