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,mailingListIdortransactionBatchIdthat does not exist.If the
directoryId,mailingListIdortransactionBatchIddoesn't represent an existing (non-deleted) collection, you won't be able to import contacts or transactions into it.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"result":{"percentComplete":"\u003cfloat\u003e","contacts":{"count":{"added":"\u003cinteger\u003e","updated":"\u003cinteger\u003e","failed":"\u003cinteger\u003e"}},"invalidEmails":["\u003cstring\u003e","\u003cstring\u003e"],"transactions":{"count":{"created":"\u003cinteger\u003e"}},"status":"\u003cstring\u003e"},"meta":{"httpStatus":"\u003cstring\u003e","requestId":"\u003cstring\u003e","notice":"\u003cstring\u003e"}}