Service | Note | Parameters | VFP client method | Console client action | Server path |
---|
Upload report |
| XmlFileName RemotePath Order | RIC_ReportsAPIClient.Upload | UPLOADREPORT | POST api/files/<RemotePath> |
Note: The order parameter controls the reports ordering in the web application |
Upload exported report |
| XmlFileName Type RemotePath Order | RIC_ReportsAPIClient.UploadExportedFile | UPLOADEXPORTEDFILE | POST api/files/<RemotePath> |
Upload binary |
| FileName RemotePath Type Order | RIC_ReportsAPIClient.UploadBinary | UPLOADFILE | POST api/files/uploadfile?path=<RemotePath> |
Notes: - Upload a binary file, such as a PDF or an image
- PDFs and Images are automatically preview, the rest of binary files can be downloaded
- Use the file extension as the Type parameter (PDF, ZIP, DOCX, etc.), it is also used as an extension of the downloaded file.
|
Image report | A report where individual pages are stored as images | ImageFileName RemotePath Order PageIndex Insert | N/A | UPLOADIMAGEREPORT | POST api/files/imagereport?page={0}&insert={1}&path={2} |