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
Sanchivan SivadasanSanchivan Sivadasan 

Apex webservice returning an image in Notes and Attachment

Hi there,

I need to create a webservice that return's all accounts plus some other data from other objects through an Apex Webservice. I also have a field on the account object that has the URL for an image that is attached on the Notes and Attachments section of the account record.  I need to return the image as part of the webservice call for each account. Is this possible and how can I do this?  The system that is calling the webservice is not within Salesforce.

Also, is there a limit on how many account records that we can return in one webservice all? 

Thanks.

Sanch