Get contact import progress

The GetContactImportProgress method determines the import status of a previously started contact import. Returns either Finished, NotFinished, RejectedByWatchdog or InvalidFileFormat. There is the possibility of an "Unknown" status if something went wrong internally in dotMailer.

To be used in conjunction with AddContactsToAddressBookWithProgress.

Parameters

username string This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com required
password string This is the password from your API key. required
progressID guid This is a GUID which is returned to you when you call AddContactsToAddressBookWithProgress. required

Return values

result Finished or NotFinished or RejectedByWatchdog or InvalidFileFormat or Unknown

Error responses

  • ERROR_IMPORT_NOT_FOUND
  • ERROR_IMPORT_TOOMANYACTIVEIMPORTS
  • ERROR_APIUSAGE_EXCEEDED
  • ERROR_INVALID_LOGIN
  • ERROR_PARAMETER_INVALID
  • ERROR_SYSTEM_SERVICETEMPORARILYUNAVAILABLE
  • ERROR_UNKNOWN

Request

Example of use in C# .NET

Sample request

Sample response

Get started with dotMailer:

Small & Medium businesses Large businesses
Call the team on 0845 337 9170
What our clients say:

“dotMailer has changed our complete marketing process for the better. It's one of the easiest apps I have used and allows us to do things we have only dreamed of before."

Amberley Shermon, Cazenove+Loyd