We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Move attachments to new organisation via RESTful API

edited Nov 10, 2016 4:26PM in Integrations and APIs


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.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!