Gets a report with statistics about what transactional data was successfully imported, and what was unable to be imported
This method returns a report on a completed transactional data import, providing information on what was successfully imported and on what was unable to be imported.
SOAP action: http://apiconnector.com/v2/ApiService/GetTransactionalDataImportReport
Input and output parameters
The input and output parameters for this method are:
Input parameters
- Import ID - required; GUID
Output parameters
- GetTransactionalDataImportReportResult
- TotalItems - integer
- TotalImported - integer
- TotalRejected - integer
- Faults - array of TransactionalDataImportReportFault
- TransactionalDataImportReportFault
- Key - string
- Reason - *string; '(Unknown', 'InvalidClientKey', 'InvalidContactIdentifier', 'InvalidJson', 'DuplicateKey', 'ContactIdDoesNotExist', 'ContactEmailDoesNotExist', 'JsonKeyTooLong', 'JsonKeyInvalidCharacters', 'JsonValueTooLong', 'JsonValueIncompatibleWithSchema', 'JsonNumberValueTooLarge')
Example
using (var client = new ApiServiceClient())
{
client.ClientCredentials.UserName.UserName = "username";
client.ClientCredentials.UserName.Password = "password";
var importId = new Guid("00000000-0000-0000-0000-000000000000");
var report = client.GetTransactionalDataImportReport(importId);
}