Tuesday, April 07, 2009

API/Web Service "Import" methods now support "UpdateOnly" setting

The two API methods ImportGroupMembersFromData2 and ImportGroupMembersFromData2 are updated versions of the older ImportGroupMembersFromData and ImportGroupMembersFromData methods:

  • ImportGroupMembersFromData2
    Imports members into a Group from raw data. Specify whether to add all records or update existing records. Returns a string.
  • ImportGroupMembersFromFile2
    Imports members into a Group from previously FTPd file. Specify whether to add all records or update existing records. Returns a string.


  • Version 2 of these methods allows the setting of the UpdateOnly parameter to True or False. Setting this parameter to True will cause the JangoMail Group Importer to only update existing email addresses and add new email addresses. Setting this to False will cause the Importer to add all email addresses in the imported data, even if the email addresses already exist in the Group.