Get Transaction Contacts Import Summary

GET {{baseUrl}}/directories/:directoryId/mailinglists/:mailingListId/transactioncontacts/:importId/summary

Retrieve the summary of the associated import request. <!--From Readme--> This endpoint is a follow up to Import Mailing List Contacts with Transactions. This API call can be used to retrieve a full report of a contacts import. The contacts key returns a short summary of how many contacts were imported, updated, or failed to import. The transactions key returns the count of transactions that were added. The invalidEmails key returns an array of malformed emails that must be corrected before re-importing.

Frequently Asked Questions

Why are my counts all 0 for contacts and transactions, even though the percentComplete is 100?

This situation usually indicates that you provided a directoryId, mailingListId or transactionBatchId that does not exist.

If the directoryId, mailingListId or transactionBatchId doesn't represent an existing (non-deleted) collection, you won't be able to import contacts or transactions into it.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;result&quot;:{&quot;percentComplete&quot;:&quot;\u003cfloat\u003e&quot;,&quot;contacts&quot;:{&quot;count&quot;:{&quot;added&quot;:&quot;\u003cinteger\u003e&quot;,&quot;updated&quot;:&quot;\u003cinteger\u003e&quot;,&quot;failed&quot;:&quot;\u003cinteger\u003e&quot;}},&quot;invalidEmails&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;transactions&quot;:{&quot;count&quot;:{&quot;created&quot;:&quot;\u003cinteger\u003e&quot;}},&quot;status&quot;:&quot;\u003cstring\u003e&quot;},&quot;meta&quot;:{&quot;httpStatus&quot;:&quot;\u003cstring\u003e&quot;,&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;notice&quot;:&quot;\u003cstring\u003e&quot;}}