Skip to main content
Hi all,

I trying to upload attachment to salesforce account rest api using asp.net

We have followed the steps given in following link but couldn't succeed.

http://danlb.blogspot.in/2012/06/salesforce-rest-api-file-upload.html

please help me on this
5 answers
  1. May 23, 2025, 5:19 PM

    You cannot directly tie the ContentVersion with an Account during the upload. Just like in Apex, you have to create a ContentDocumentLink record with the relative Id's after the ContentVersion is uploaded. 

0/9000