Topic by Mike Hawkes
Content
How can I move attachments from one organisation to another via the RESTful API? We have created new organisations as part of a de-duplication process, and now want to migrate other objects including attachments to the master record. For most objects, we can simply PATCH the organisation field within the relevant object, but for attachments, I'm not sure what I should patch ...
I can get a list of attachments, is it just a case of adding the list of returned ID's to the new object? Something like the below.
The only way I can see at the moment is to GET the data, then create a new attachment for each one ... but this both duplicates the data and ends up with it being downloaded and uploaded for no real reason ... any pointers welcome, thanks.