function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raj01Raj01 

How to get the mutiple base64 data from contentversion using REST API

Hi,

Microservice team integrating with Salesforce using REST API to get the multiple Base64 data from ContentVersion.

Using below SOQL we are not getting the base64 data and again need to hit /services/data/v20.0/sobjects/ContentVersion/CVID
to get the base64 data.
Execute a SOQL Query
Using https://yourInstance.salesforce.com/services/data/v20.0/query/?q=SELECT+name+from+ContentVersion+Where+ID+IN('','')

Is there any way we can get multiple ContentVersion records base64 data using single call. 



Thanks

  
Raj VakatiRaj Vakati
I dnt think so ..  API does not seem to support the "Content-Transfer-Encoding: base64" header.


https://salesforce.stackexchange.com/questions/44803/problem-trying-to-upload-contentversion-from-base64-image-data-via-rest-api