getEmailAccounts

This call is deprecated. Using Erply as an email client is no longer supported.

Returns the list of configured email accounts and the access credentials for each account.

Input parameters

Parameter name Description Possible value Required
userID Get email accounts for a specific user. Integer
emailAccountID Get a specific email account by ID. Integer
changedSince Retrieve only items that have been added or modified since the specified timestamp. Use it to keep a local database in sync with Erply. Integer (Unix timestamp)
recordsOnPage Number of records API should return. By default 20, at most 100. Integer
pageNo API returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". Integer

Response

Field name Type Description
emailAccountID Integer
userID Integer
server String
port Integer
username String
password String
useSSL Integer (0 or 1)
active Integer (0 or 1)
smtpServer String
smtpPort Integer
smtpUsername String
smtpPassword String
smtpUseSSL Integer (0 or 1)
downloadEmailsSinceDate Date (yyyy-mm-dd)
added Unix timestamp Creation time.
lastModified Unix timestamp Last modification time.