You need to sign in to do that
Don't have an account?
raviendiran p 9
need to download attachments from accounts in salesforce using REST C#
Hi all,
need some sample code to download attachments from accounts in salesforce using REST API in c#
need some sample code to download attachments from accounts in salesforce using REST API in c#
Create a System.Net.HttpWebRequest to the REST SObject Blob Retrieve (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_sobject_blob_retrieve.htm) resource. Add the Authorization header with the request with "Bearer" followed by the SessionId.
Call GetResponse() on the request and read in the response stream as binary data.