'How do I download attachments from Workday through web service or RAAS by File_ID or WID?

I have a report (as a web service) that gives attachments attached to the Customer Payments. I had to use the report because sadly, Get_Customer_Payments web service does not have attachment data. I have not used base64 data in the report because otherwise the report will be too large. So, all I get from the report is a WID and a File_ID for attachments. So, if I only have File_ID or WID of attachments, how do I download these attachments?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source