You need to sign in to do that
Don't have an account?
DJ 367
upload attachment from attachment to external server thru REST api.
Hello All,
I want to send attachmnet of attachment object to an external server thru REST api, Can some one please help me with code. Thanks
I want to send attachmnet of attachment object to an external server thru REST api, Can some one please help me with code. Thanks
Refer this link
https://salesforce.stackexchange.com/questions/24671/upload-files-to-a-case-in-salesforce-via-rest-api
https://developer.salesforce.com/forums/?id=9060G000000XdhZQAS
https://medium.com/@weirdthinker15/uploading-a-document-to-salesforce-using-rest-api-a7481324812a
https://docparser.com/blog/post-file-salesforce-apex-external-http-webservices/
http://www.wadewegner.com/2014/05/uploading-an-attachment-to-salesforce-with-the-soap-and-rest-apis/
https://community.jivesoftware.com/thread/295296
If you are still looking for a solution, this is my code in PHP which uploads the attachment to Salesforce Documents.
This is my blog post with complete explanation: https://initaura.com/uploading-attachment-through-rest-api-salesforce-simple-working-solution/
Thanks and Regards,
Neha Aggrawal
www.initaura.com - Everything Salesforce (https://www.initaura.com)