Acumatica version 25R2. I’ve successfully deployed and consumed generic inquiries with parameters via OData. For a specific generic inquiry, I would like to return the result in Excel format for direct opening or download, rather than returning the data in json format. I do not want the calling application to have to convert the data. I’ve been going round and round with Claude AI on a low-code customization solution, but it can’t figure out how to do it in one shot. It wants to trigger an export and file save to the file system then return a reference to the file which requires another API call to download the file. Has anyone been able to perform this type of action with a generic inquiry in one API call? It’s hard to believe that this is so difficult when I can do it with very little code in a web service method in a very old SAP system. Thanks.
Answer
Get Generic Inquiry Results via REST API in Excel Format (Binary Data)
Best answer by Dmitrii Naumov
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.