### Desktop Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for interacting with the desktop environment, including application control, clipboard operations, and UI element manipulation. ```APIDOC ## POST /api/desktop/click ### Description Simulates a mouse click on a specified UI element. ### Method POST ### Endpoint /api/desktop/click ### Parameters #### Request Body - **elementSelector** (string) - Required - A selector to identify the UI element to click. - **button** (string) - Optional - The mouse button to use ('left', 'right', 'middle'). Defaults to 'left'. - **clickCount** (integer) - Optional - The number of times to click. Defaults to 1. ### Request Example { "elementSelector": "#myButton", "button": "left", "clickCount": 1 } ## POST /api/desktop/close_application ### Description Closes the currently active application or a specified application window. ### Method POST ### Endpoint /api/desktop/close_application ### Parameters #### Request Body - **applicationTitle** (string) - Optional - The title of the application window to close. If not provided, the active window is closed. ### Request Example { "applicationTitle": "Untitled - Notepad" } ## POST /api/desktop/get_from_clipboard ### Description Retrieves data from the system clipboard. ### Method POST ### Endpoint /api/desktop/get_from_clipboard ### Response #### Success Response (200) - **data** (string) - The data currently in the clipboard. ### Response Example { "data": "Text copied to clipboard" } ## POST /api/desktop/get_table_data ### Description Extracts data from a table displayed on the screen. ### Method POST ### Endpoint /api/desktop/get_table_data ### Parameters #### Request Body - **tableSelector** (string) - Required - A selector to identify the table element. ### Request Example { "tableSelector": "table#dataGrid" } ## POST /api/desktop/get_text ### Description Retrieves text content from a specified UI element. ### Method POST ### Endpoint /api/desktop/get_text ### Parameters #### Request Body - **elementSelector** (string) - Required - A selector to identify the UI element. ### Request Example { "elementSelector": "label[for='username']" } ## POST /api/desktop/open_application ### Description Opens a specified application. ### Method POST ### Endpoint /api/desktop/open_application ### Parameters #### Request Body - **applicationPath** (string) - Required - The full path to the application executable. - **arguments** (string) - Optional - Arguments to pass to the application upon opening. ### Request Example { "applicationPath": "C:\\Windows\\System32\\notepad.exe", "arguments": "myfile.txt" } ## POST /api/desktop/save_to_clipboard ### Description Saves specified data to the system clipboard. ### Method POST ### Endpoint /api/desktop/save_to_clipboard ### Parameters #### Request Body - **data** (string) - Required - The data to save to the clipboard. ### Request Example { "data": "This text will be copied to the clipboard." } ## POST /api/desktop/select_item ### Description Selects an item within a list or similar UI control. ### Method POST ### Endpoint /api/desktop/select_item ### Parameters #### Request Body - **containerSelector** (string) - Required - A selector for the container holding the items. - **itemSelector** (string) - Required - A selector for the specific item to select. ### Request Example { "containerSelector": "#myList", "itemSelector": ".selectedItem" } ## POST /api/desktop/sendkeys ### Description Sends a sequence of keystrokes to the active window. ### Method POST ### Endpoint /api/desktop/sendkeys ### Parameters #### Request Body - **keys** (string) - Required - The sequence of keys to send. Special keys can be represented using syntax like {ENTER}, {TAB}, etc. ### Request Example { "keys": "Hello, World!{ENTER}" } ## POST /api/desktop/set_text ### Description Sets the text content of a specified UI element. ### Method POST ### Endpoint /api/desktop/set_text ### Parameters #### Request Body - **elementSelector** (string) - Required - A selector to identify the UI element. - **text** (string) - Required - The text to set. ### Request Example { "elementSelector": "input[name='username']", "text": "newUsername" } ## POST /api/desktop/type_into ### Description Types text into a specified input field, simulating keyboard input. ### Method POST ### Endpoint /api/desktop/type_into ### Parameters #### Request Body - **elementSelector** (string) - Required - A selector to identify the input field. - **text** (string) - Required - The text to type. ### Request Example { "elementSelector": "textarea#comments", "text": "This is some typed text." } ``` -------------------------------- ### Primitives Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html Basic programming activities including assignment and delays. ```APIDOC ## POST /api/primitives/assign ### Description Assigns a value to a variable. ### Method POST ### Endpoint /api/primitives/assign ### Parameters #### Request Body - **variableName** (string) - Required - The name of the variable to assign. - **value** (string) - Required - The value to assign to the variable. ### Request Example { "variableName": "counter", "value": "10" } ## POST /api/primitives/delay ### Description Pauses the execution for a specified duration. ### Method POST ### Endpoint /api/primitives/delay ### Parameters #### Request Body - **durationInSeconds** (integer) - Required - The duration to pause in seconds. ### Request Example { "durationInSeconds": 5 } ``` -------------------------------- ### Cloud Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for managing files in the cloud, including upload, download, listing, and deletion. ```APIDOC ## POST /api/cloud/deletefilefromcloud ### Description Deletes a file from the cloud. ### Method POST ### Endpoint /api/cloud/deletefilefromcloud ### Parameters #### Request Body - **filePath** (string) - Required - The path of the file to delete. ### Request Example { "filePath": "/path/to/your/file.txt" } ## POST /api/cloud/downloadfilefromcloud ### Description Downloads a file from the cloud. ### Method POST ### Endpoint /api/cloud/downloadfilefromcloud ### Parameters #### Request Body - **filePath** (string) - Required - The path of the file to download. - **localPath** (string) - Required - The local path where the file will be saved. ### Request Example { "filePath": "/path/to/your/file.txt", "localPath": "C:\\Users\\YourUser\\Downloads\\file.txt" } ## GET /api/cloud/listfile ### Description Lists files and folders in a specified cloud directory. ### Method GET ### Endpoint /api/cloud/listfile ### Parameters #### Query Parameters - **directoryPath** (string) - Optional - The path of the directory to list. Defaults to the root directory. ### Response #### Success Response (200) - **files** (array) - A list of file and folder objects. - **name** (string) - The name of the file or folder. - **type** (string) - The type of the item (file or folder). - **path** (string) - The full path of the item. ### Response Example { "files": [ { "name": "document.pdf", "type": "file", "path": "/documents/document.pdf" }, { "name": "images", "type": "folder", "path": "/images" } ] } ## POST /api/cloud/uploadfiletocloud ### Description Uploads a file to the cloud. ### Method POST ### Endpoint /api/cloud/uploadfiletocloud ### Parameters #### Request Body - **filePath** (string) - Required - The local path of the file to upload. - **cloudPath** (string) - Required - The destination path in the cloud. ### Request Example { "filePath": "C:\\Users\\YourUser\\Documents\\report.docx", "cloudPath": "/reports/report.docx" } ``` -------------------------------- ### OneDrive Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for managing files and folders in OneDrive, including copy, create, delete, download, upload, and sharing operations. ```APIDOC ## POST /api/onedrive/copyfilefolder ### Description Copies a file or folder in OneDrive. ### Method POST ### Endpoint /api/onedrive/copyfilefolder ### Parameters #### Request Body - **sourcePath** (string) - Required - The path of the file or folder to copy. - **destinationPath** (string) - Required - The destination path for the copied item. ### Request Example { "sourcePath": "/Documents/Report.docx", "destinationPath": "/Archive/Report_copy.docx" } ## POST /api/onedrive/createfolder ### Description Creates a new folder in OneDrive. ### Method POST ### Endpoint /api/onedrive/createfolder ### Parameters #### Request Body - **folderPath** (string) - Required - The path for the new folder. ### Request Example { "folderPath": "/NewFolder/SubFolder" } ## POST /api/onedrive/deletefilefolder ### Description Deletes a file or folder from OneDrive. ### Method POST ### Endpoint /api/onedrive/deletefilefolder ### Parameters #### Request Body - **filePath** (string) - Required - The path of the file or folder to delete. ### Request Example { "filePath": "/Documents/OldFile.txt" } ## POST /api/onedrive/downloadfile ### Description Downloads a file from OneDrive. ### Method POST ### Endpoint /api/onedrive/downloadfile ### Parameters #### Request Body - **onedrivePath** (string) - Required - The path of the file in OneDrive. - **localPath** (string) - Required - The local path to save the downloaded file. ### Request Example { "onedrivePath": "/Documents/MyFile.pdf", "localPath": "C:\\Downloads\\MyFile.pdf" } ## POST /api/onedrive/exportfileaspdf ### Description Exports a file from OneDrive as a PDF. ### Method POST ### Endpoint /api/onedrive/exportfileaspdf ### Parameters #### Request Body - **onedrivePath** (string) - Required - The path of the file in OneDrive. - **pdfPath** (string) - Required - The local path to save the exported PDF. ### Request Example { "onedrivePath": "/Documents/WordDoc.docx", "pdfPath": "C:\\Exports\\WordDoc.pdf" } ## POST /api/onedrive/findfilesandfolders ### Description Finds files and folders in OneDrive based on a query. ### Method POST ### Endpoint /api/onedrive/findfilesandfolders ### Parameters #### Request Body - **query** (string) - Required - The search query. - **searchPath** (string) - Optional - The path to search within. Defaults to root. ### Request Example { "query": "report", "searchPath": "/Documents" } ## POST /api/onedrive/foreachfilesorfolder ### Description Iterates over files or folders in a specified OneDrive path. ### Method POST ### Endpoint /api/onedrive/foreachfilesorfolder ### Parameters #### Request Body - **path** (string) - Required - The OneDrive path to iterate over. - **action** (string) - Required - The action to perform on each item (e.g., 'process'). ### Request Example { "path": "/Data", "action": "process" } ## POST /api/onedrive/getfilesfolder ### Description Retrieves a list of files and folders from a specified OneDrive path. ### Method POST ### Endpoint /api/onedrive/getfilesfolder ### Parameters #### Request Body - **path** (string) - Required - The OneDrive path to list items from. ### Request Example { "path": "/Projects" } ## POST /api/onedrive/movefilefolder ### Description Moves a file or folder in OneDrive. ### Method POST ### Endpoint /api/onedrive/movefilefolder ### Parameters #### Request Body - **sourcePath** (string) - Required - The path of the file or folder to move. - **destinationPath** (string) - Required - The destination path. ### Request Example { "sourcePath": "/Downloads/File.txt", "destinationPath": "/Documents/File.txt" } ## POST /api/onedrive/sharefilefolder ### Description Shares a file or folder in OneDrive. ### Method POST ### Endpoint /api/onedrive/sharefilefolder ### Parameters #### Request Body - **path** (string) - Required - The path of the file or folder to share. - **recipientEmail** (string) - Required - The email address of the recipient. - **permission** (string) - Optional - The permission level (e.g., 'read', 'write'). Defaults to 'read'. ### Request Example { "path": "/Shared/Document.pdf", "recipientEmail": "user@example.com", "permission": "write" } ## POST /api/onedrive/uploadfile ### Description Uploads a file to OneDrive. ### Method POST ### Endpoint /api/onedrive/uploadfile ### Parameters #### Request Body - **localPath** (string) - Required - The path of the file to upload. - **onedrivePath** (string) - Required - The destination path in OneDrive. ### Request Example { "localPath": "C:\\Users\\YourUser\\Documents\\MyFile.txt", "onedrivePath": "/Documents/MyFile.txt" } ``` -------------------------------- ### Flowchart Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for creating and manipulating flowchart elements. ```APIDOC ## POST /api/flowchart/flowchart ### Description Creates a flowchart element. ### Method POST ### Endpoint /api/flowchart/flowchart ### Parameters #### Request Body - **name** (string) - Required - The name of the flowchart. - **description** (string) - Optional - A description for the flowchart. ### Request Example { "name": "MyProcessFlow", "description": "A flowchart for the main process." } ## POST /api/flowchart/flowdecision ### Description Creates a decision element within a flowchart. ### Method POST ### Endpoint /api/flowchart/flowdecision ### Parameters #### Request Body - **name** (string) - Required - The name of the decision node. - **condition** (string) - Required - The condition to evaluate. ### Request Example { "name": "CheckStatus", "condition": "Status == 'Active'" } ## POST /api/flowchart/flowswitch ### Description Creates a switch element within a flowchart. ### Method POST ### Endpoint /api/flowchart/flowswitch ### Parameters #### Request Body - **name** (string) - Required - The name of the switch node. - **expression** (string) - Required - The expression to evaluate for the switch. ### Request Example { "name": "RouteBasedOnType", "expression": "Item.Type" } ``` -------------------------------- ### Programming Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for performing programming-related tasks, including data table manipulation, method invocation, and script execution. ```APIDOC ## POST /api/programming/adddatatablecolumn ### Description Adds a column to a data table. ### Method POST ### Endpoint /api/programming/adddatatablecolumn ### Parameters #### Request Body - **dataTable** (object) - Required - The data table to modify. - **columnName** (string) - Required - The name of the column to add. - **columnType** (string) - Optional - The data type of the column. ### Request Example { "dataTable": { "columns": [{"name": "ID", "type": "string"}], "rows": [{"ID": "1"}] }, "columnName": "Name", "columnType": "string" } ## POST /api/programming/adddatatablerow ### Description Adds a row to a data table. ### Method POST ### Endpoint /api/programming/adddatatablerow ### Parameters #### Request Body - **dataTable** (object) - Required - The data table to modify. - **rowData** (object) - Required - An object containing the data for the new row. ### Request Example { "dataTable": { "columns": [{"name": "ID", "type": "string"}, {"name": "Name", "type": "string"}], "rows": [] }, "rowData": {"ID": "2", "Name": "Jane Doe"} } ## POST /api/programming/builddatatable ### Description Builds a data table from provided data. ### Method POST ### Endpoint /api/programming/builddatatable ### Parameters #### Request Body - **columns** (array) - Required - An array of column definitions (name, type). - **rows** (array) - Optional - An array of row data objects. ### Request Example { "columns": [{"name": "Product", "type": "string"}, {"name": "Price", "type": "number"}], "rows": [ {"Product": "Laptop", "Price": 1200}, {"Product": "Mouse", "Price": 25} ] } ## POST /api/programming/deletedatatablecolumn ### Description Deletes a column from a data table. ### Method POST ### Endpoint /api/programming/deletedatatablecolumn ### Parameters #### Request Body - **dataTable** (object) - Required - The data table to modify. - **columnName** (string) - Required - The name of the column to delete. ### Request Example { "dataTable": { "columns": [{"name": "ID", "type": "string"}, {"name": "Name", "type": "string"}], "rows": [{"ID": "1", "Name": "John Doe"}] }, "columnName": "Name" } ## POST /api/programming/deletedatatablerow ### Description Deletes a row from a data table based on a condition. ### Method POST ### Endpoint /api/programming/deletedatatablerow ### Parameters #### Request Body - **dataTable** (object) - Required - The data table to modify. - **condition** (string) - Required - A condition to identify the row(s) to delete (e.g., "ID == '1'"). ### Request Example { "dataTable": { "columns": [{"name": "ID", "type": "string"}], "rows": [{"ID": "1"}, {"ID": "2"}] }, "condition": "ID == '1'" } ## POST /api/programming/invokemethod ### Description Invokes a specified method. ### Method POST ### Endpoint /api/programming/invokemethod ### Parameters #### Request Body - **objectName** (string) - Required - The name of the object containing the method. - **methodName** (string) - Required - The name of the method to invoke. - **arguments** (array) - Optional - An array of arguments to pass to the method. ### Request Example { "objectName": "MyObject", "methodName": "CalculateSum", "arguments": [10, 20] } ## POST /api/programming/invokepythonscript ### Description Executes a Python script. ### Method POST ### Endpoint /api/programming/invokepythonscript ### Parameters #### Request Body - **scriptPath** (string) - Required - The path to the Python script. - **arguments** (array) - Optional - Arguments to pass to the script. ### Request Example { "scriptPath": "C:\\Scripts\\my_script.py", "arguments": ["input.txt", "output.txt"] } ## POST /api/programming/trycatch ### Description Executes a block of code and handles potential exceptions. ### Method POST ### Endpoint /api/programming/trycatch ### Parameters #### Request Body - **tryBlock** (object) - Required - The code to execute within the try block. - **catchBlock** (object) - Required - The code to execute if an exception occurs. ### Request Example { "tryBlock": { "action": "performOperation" }, "catchBlock": { "action": "logError" } } ``` -------------------------------- ### Excel Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for performing operations on Excel files, including creating, reading, writing, and manipulating sheets and cells. ```APIDOC ## POST /api/excel/addsheet ### Description Adds a new sheet to an Excel workbook. ### Method POST ### Endpoint /api/excel/addsheet ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name for the new sheet. ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "NewSheet" } ## POST /api/excel/copysheet ### Description Copies an existing sheet to a new sheet within the same workbook. ### Method POST ### Endpoint /api/excel/copysheet ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sourceSheetName** (string) - Required - Name of the sheet to copy. - **destinationSheetName** (string) - Required - Name for the new copied sheet. ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sourceSheetName": "Sheet1", "destinationSheetName": "CopiedSheet1" } ## POST /api/excel/createworkbook ### Description Creates a new Excel workbook. ### Method POST ### Endpoint /api/excel/createworkbook ### Parameters #### Request Body - **filePath** (string) - Required - The path where the new workbook will be saved. ### Request Example { "filePath": "C:\\path\\to\\new_workbook.xlsx" } ## POST /api/excel/deleterange ### Description Deletes a range of cells from an Excel sheet. ### Method POST ### Endpoint /api/excel/deleterange ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name of the sheet containing the range. - **range** (string) - Required - The range to delete (e.g., "A1:B5"). ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "Sheet1", "range": "C3:D7" } ## POST /api/excel/readcell ### Description Reads the value of a specific cell in an Excel sheet. ### Method POST ### Endpoint /api/excel/readcell ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name of the sheet. - **cellAddress** (string) - Required - The address of the cell (e.g., "A1"). ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "Sheet1", "cellAddress": "B2" } ## POST /api/excel/readcolumn ### Description Reads all values from a specific column in an Excel sheet. ### Method POST ### Endpoint /api/excel/readcolumn ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name of the sheet. - **columnName** (string) - Required - The letter or name of the column (e.g., "A" or "Column1"). ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "Sheet1", "columnName": "C" } ## POST /api/excel/readcsv ### Description Reads data from a CSV file. ### Method POST ### Endpoint /api/excel/readcsv ### Parameters #### Request Body - **filePath** (string) - Required - Path to the CSV file. - **delimiter** (string) - Optional - The delimiter used in the CSV file. Defaults to ','. ### Request Example { "filePath": "C:\\path\\to\\data.csv", "delimiter": ";" } ## POST /api/excel/readrange ### Description Reads values from a specified range of cells in an Excel sheet. ### Method POST ### Endpoint /api/excel/readrange ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name of the sheet. - **range** (string) - Required - The range to read (e.g., "A1:C5"). ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "Sheet1", "range": "A1:C5" } ## POST /api/excel/readrow ### Description Reads all values from a specific row in an Excel sheet. ### Method POST ### Endpoint /api/excel/readrow ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name of the sheet. - **rowNumber** (integer) - Required - The number of the row to read. ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "Sheet1", "rowNumber": 3 } ## POST /api/excel/renamesheet ### Description Renames an existing sheet in an Excel workbook. ### Method POST ### Endpoint /api/excel/renamesheet ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **oldSheetName** (string) - Required - The current name of the sheet. - **newSheetName** (string) - Required - The new name for the sheet. ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "oldSheetName": "Sheet1", "newSheetName": "RenamedSheet" } ## POST /api/excel/writecell ### Description Writes a value to a specific cell in an Excel sheet. ### Method POST ### Endpoint /api/excel/writecell ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name of the sheet. - **cellAddress** (string) - Required - The address of the cell (e.g., "A1"). - **value** (string) - Required - The value to write to the cell. ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "Sheet1", "cellAddress": "A1", "value": "Hello" } ## POST /api/excel/writerange ### Description Writes data to a specified range of cells in an Excel sheet. ### Method POST ### Endpoint /api/excel/writerange ### Parameters #### Request Body - **workbookPath** (string) - Required - Path to the Excel workbook. - **sheetName** (string) - Required - Name of the sheet. - **range** (string) - Required - The range to write to (e.g., "A1:C5"). - **data** (array) - Required - A 2D array representing the data to write. ### Request Example { "workbookPath": "C:\\path\\to\\workbook.xlsx", "sheetName": "Sheet1", "range": "A1:B2", "data": [["Value1", "Value2"], ["Value3", "Value4"]] } ``` -------------------------------- ### Email Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for managing emails, including sending, receiving, downloading attachments, and organizing emails across different clients like Outlook and IMAP. ```APIDOC ## POST /api/email/downloadimapattachments ### Description Downloads attachments from IMAP email messages. ### Method POST ### Endpoint /api/email/downloadimapattachments ### Parameters #### Request Body - **host** (string) - Required - IMAP server host. - **port** (integer) - Required - IMAP server port. - **username** (string) - Required - IMAP username. - **password** (string) - Required - IMAP password. - **folder** (string) - Optional - The email folder to search. Defaults to 'INBOX'. - **searchCriteria** (string) - Optional - Criteria to find emails (e.g., 'UNSEEN FROM "sender@example.com"'). - **attachmentPath** (string) - Required - Local path to save attachments. ### Request Example { "host": "imap.example.com", "port": 993, "username": "user@example.com", "password": "password", "folder": "INBOX", "searchCriteria": "UNSEEN", "attachmentPath": "C:\\Downloads\\Attachments" } ## POST /api/email/downloadoutlookattachment ### Description Downloads attachments from Outlook emails. ### Method POST ### Endpoint /api/email/downloadoutlookattachment ### Parameters #### Request Body - **mailId** (string) - Required - The ID of the Outlook email. - **attachmentName** (string) - Required - The name of the attachment to download. - **savePath** (string) - Required - The local path to save the attachment. ### Request Example { "mailId": "", "attachmentName": "report.pdf", "savePath": "C:\\Downloads" } ## POST /api/email/getoutlookemails ### Description Retrieves emails from Outlook. ### Method POST ### Endpoint /api/email/getoutlookemails ### Parameters #### Request Body - **folder** (string) - Optional - The Outlook folder to retrieve emails from. Defaults to 'Inbox'. - **maxResults** (integer) - Optional - The maximum number of emails to retrieve. ### Request Example { "folder": "Sent Items", "maxResults": 10 } ## POST /api/email/markoutlookemailasreadunread ### Description Marks an Outlook email as read or unread. ### Method POST ### Endpoint /api/email/markoutlookemailasreadunread ### Parameters #### Request Body - **mailId** (string) - Required - The ID of the Outlook email. - **isRead** (boolean) - Required - True to mark as read, false to mark as unread. ### Request Example { "mailId": "", "isRead": true } ## POST /api/email/moveoutlookemail ### Description Moves an Outlook email to a different folder. ### Method POST ### Endpoint /api/email/moveoutlookemail ### Parameters #### Request Body - **mailId** (string) - Required - The ID of the Outlook email. - **destinationFolder** (string) - Required - The name of the destination folder. ### Request Example { "mailId": "", "destinationFolder": "Archive" } ## POST /api/email/readimapmailmessages ### Description Reads mail messages from an IMAP server. ### Method POST ### Endpoint /api/email/readimapmailmessages ### Parameters #### Request Body - **host** (string) - Required - IMAP server host. - **port** (integer) - Required - IMAP server port. - **username** (string) - Required - IMAP username. - **password** (string) - Required - IMAP password. - **folder** (string) - Optional - The email folder to search. Defaults to 'INBOX'. - **searchCriteria** (string) - Optional - Criteria to find emails (e.g., 'UNSEEN FROM "sender@example.com"'). - **maxMessages** (integer) - Optional - Maximum number of messages to retrieve. ### Request Example { "host": "imap.example.com", "port": 993, "username": "user@example.com", "password": "password", "folder": "INBOX", "searchCriteria": "UNSEEN", "maxMessages": 5 } ## POST /api/email/sendoutlookemail ### Description Sends an email using Outlook. ### Method POST ### Endpoint /api/email/sendoutlookemail ### Parameters #### Request Body - **to** (string) - Required - Recipient email address. - **subject** (string) - Required - Email subject. - **body** (string) - Required - Email body content. - **cc** (string) - Optional - CC recipient email address. - **bcc** (string) - Optional - BCC recipient email address. - **attachments** (array) - Optional - Array of attachment file paths. ### Request Example { "to": "recipient@example.com", "subject": "Meeting Reminder", "body": "Hi, this is a reminder for our meeting tomorrow.", "attachments": ["C:\\path\\to\\document.pdf"] } ## POST /api/email/sendsmtpemail ### Description Sends an email using SMTP. ### Method POST ### Endpoint /api/email/sendsmtpemail ### Parameters #### Request Body - **host** (string) - Required - SMTP server host. - **port** (integer) - Required - SMTP server port. - **username** (string) - Required - SMTP username. - **password** (string) - Required - SMTP password. - **from** (string) - Required - Sender email address. - **to** (string) - Required - Recipient email address. - **subject** (string) - Required - Email subject. - **body** (string) - Required - Email body content. - **useSsl** (boolean) - Optional - Whether to use SSL. Defaults to false. ### Request Example { "host": "smtp.example.com", "port": 587, "username": "user@example.com", "password": "password", "from": "sender@example.com", "to": "recipient@example.com", "subject": "Test Email", "body": "This is a test email sent via SMTP.", "useSsl": true } ## POST /api/email/deleteoutlookgraphemail ### Description Deletes an email from Outlook using Microsoft Graph API. ### Method POST ### Endpoint /api/email/deleteoutlookgraphemail ### Parameters #### Request Body - **messageId** (string) - Required - The ID of the email message to delete. - **folderId** (string) - Optional - The ID of the folder containing the email. Defaults to 'inbox'. ### Request Example { "messageId": "", "folderId": "inbox" } ## POST /api/email/downloadoutlookgraphemailattachment ### Description Downloads an attachment from an Outlook email using Microsoft Graph API. ### Method POST ### Endpoint /api/email/downloadoutlookgraphemailattachment ### Parameters #### Request Body - **messageId** (string) - Required - The ID of the email message. - **attachmentId** (string) - Required - The ID of the attachment. - **savePath** (string) - Required - The local path to save the attachment. ### Request Example { "messageId": "", "attachmentId": "", "savePath": "C:\\Downloads" } ## POST /api/email/forwardoutlookgraphemail ### Description Forwards an Outlook email using Microsoft Graph API. ### Method POST ### Endpoint /api/email/forwardoutlookgraphemail ### Parameters #### Request Body - **messageId** (string) - Required - The ID of the email message to forward. - **to** (string) - Required - Recipient email address. - **subject** (string) - Optional - Subject for the forwarded email. - **comment** (string) - Optional - A comment to include in the forwarded email. ### Request Example { "messageId": "", "to": "forwarded@example.com", "subject": "Fwd: Original Subject", "comment": "Please see the attached details." } ## POST /api/email/getoutlookgraphemails ### Description Retrieves emails from Outlook using Microsoft Graph API. ### Method POST ### Endpoint /api/email/getoutlookgraphemails ### Parameters #### Request Body - **folderId** (string) - Optional - The ID of the folder to retrieve emails from. Defaults to 'inbox'. - **maxResults** (integer) - Optional - The maximum number of emails to retrieve. ### Request Example { "folderId": "sentitems", "maxResults": 5 } ## POST /api/email/getgraphmailbyid ### Description Retrieves a specific Outlook email by its ID using Microsoft Graph API. ### Method POST ### Endpoint /api/email/getgraphmailbyid ### Parameters #### Request Body - **messageId** (string) - Required - The ID of the email message to retrieve. ### Request Example { "messageId": "" } ## POST /api/email/markoutlookgraphemailasreadunread ### Description Marks an Outlook email as read or unread using Microsoft Graph API. ### Method POST ### Endpoint /api/email/markoutlookgraphemailasreadunread ### Parameters #### Request Body - **messageId** (string) - Required - The ID of the email message. - **isRead** (boolean) - Required - True to mark as read, false to mark as unread. ### Request Example { "messageId": "", "isRead": true } ## POST /api/email/moveoutlookgraphemail ### Description Moves an Outlook email to a different folder using Microsoft Graph API. ### Method POST ### Endpoint /api/email/moveoutlookgraphemail ### Parameters #### Request Body - **messageId** (string) - Required - The ID of the email message to move. - **destinationFolderId** (string) - Required - The ID of the destination folder. ### Request Example { "messageId": "", "destinationFolderId": "archive" } ## POST /api/email/replytooutlookgraphemail ### Description Replies to an Outlook email using Microsoft Graph API. ### Method POST ### Endpoint /api/email/replytooutlookgraphemail ### Parameters #### Request Body - **messageId** (string) - Required - The ID of the email message to reply to. - **comment** (string) - Required - The reply content. ### Request Example { "messageId": "", "comment": "Thank you for your email." } ## POST /api/email/sendoutlookgraphemail ### Description Sends an email using Outlook via Microsoft Graph API. ### Method POST ### Endpoint /api/email/sendoutlookgraphemail ### Parameters #### Request Body - **to** (string) - Required - Recipient email address. - **subject** (string) - Required - Email subject. - **body** (string) - Required - Email body content. - **cc** (string) - Optional - CC recipient email address. - **bcc** (string) - Optional - BCC recipient email address. ### Request Example { "to": "recipient@example.com", "subject": "Graph API Email", "body": "This email is sent via the Microsoft Graph API." } ``` -------------------------------- ### PDF Activities API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html APIs for manipulating PDF documents, including merging, extracting text, images, and retrieving page counts. ```APIDOC ## POST /api/pdf/extractpdfimages ### Description Extracts all images from a PDF document. ### Method POST ### Endpoint /api/pdf/extractpdfimages ### Parameters #### Request Body - **pdfPath** (string) - Required - Path to the PDF file. - **outputPath** (string) - Required - Directory to save the extracted images. ### Request Example { "pdfPath": "C:\\path\\to\\document.pdf", "outputPath": "C:\\ExtractedImages" } ## POST /api/pdf/mergepdfdocuments ### Description Merges multiple PDF documents into a single PDF. ### Method POST ### Endpoint /api/pdf/mergepdfdocuments ### Parameters #### Request Body - **pdfPaths** (array) - Required - An array of paths to the PDF files to merge. - **outputPath** (string) - Required - Path for the merged output PDF file. ### Request Example { "pdfPaths": ["C:\\path\\to\\file1.pdf", "C:\\path\\to\\file2.pdf"], "outputPath": "C:\\Merged\\output.pdf" } ## POST /api/pdf/extracttextfrompdf ### Description Extracts all text content from a PDF document. ### Method POST ### Endpoint /api/pdf/extracttextfrompdf ### Parameters #### Request Body - **pdfPath** (string) - Required - Path to the PDF file. ### Request Example { "pdfPath": "C:\\path\\to\\document.pdf" } ## POST /api/pdf/retrievepdfpagecount ### Description Retrieves the total number of pages in a PDF document. ### Method POST ### Endpoint /api/pdf/retrievepdfpagecount ### Parameters #### Request Body - **pdfPath** (string) - Required - Path to the PDF file. ### Request Example { "pdfPath": "C:\\path\\to\\document.pdf" } ``` -------------------------------- ### HTTP/HTTPS Request API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html API for making HTTP and HTTPS requests. ```APIDOC ## POST /api/http/httpsrequest ### Description Sends an HTTP or HTTPS request. ### Method POST ### Endpoint /api/http/httpsrequest ### Parameters #### Request Body - **url** (string) - Required - The URL to send the request to. - **method** (string) - Required - The HTTP method (e.g., GET, POST, PUT, DELETE). - **headers** (object) - Optional - Key-value pairs for request headers. - **body** (string) - Optional - The request body content. ### Request Example { "url": "https://api.example.com/data", "method": "POST", "headers": { "Content-Type": "application/json" }, "body": "{\"key\": \"value\"}" } ``` -------------------------------- ### IonAPI Request API Source: https://docs.infor.com/inforos/2026.x/en-us/useradminlib_cloud/sitemap.html API for making requests to IonAPI. ```APIDOC ## POST /api/ionapi/ionapirequest ### Description Sends a request to the IonAPI. ### Method POST ### Endpoint /api/ionapi/ionapirequest ### Parameters #### Request Body - **endpoint** (string) - Required - The IonAPI endpoint to call. - **payload** (object) - Optional - The data payload for the request. - **apiKey** (string) - Required - Your IonAPI key. ### Request Example { "endpoint": "/v1/users", "payload": { "name": "John Doe" }, "apiKey": "YOUR_API_KEY" } ```