We are building an external PHP application using Sugars rest v10 API. I was able to retrieve uploaded documents name and file_mime_type from Notes table using SQL joins for a given Lead. Now I want to display those files in my application. What should be my URL? Even if I use google docs viewer, what should be my URL in that case. Where does sugar stores those uploaded files?
I looked at php - Download Documents from Sugarcrm - Stack Overflow, but this doesn't help.