Accounting API Developer's Reference
global with sharing class FileManagementService
The service class relating to File Management.
global static String createTemporaryFileReturnDownloadUrl(String title, String data)
Creates a URL to the file containing the data that has been exported from within Online Inquiries.
This service returns a String object.
global static void deleteOldExportDocuments(Integer gracePeriodMinutes)
Deletes Salesforce documents created by exporting data from within Online Inquiries. Documents created within the grace period are not deleted.