GetTransactionalDataByContact

Gets a list of all transactional data for a contact in a collection by their email address

This method retrieves a list of all pieces of transactional data for a contact by a collection name.

However, it can only return a maximum of the 100 most recent pieces of transactional data stored against that contact.

SOAP action: http://apiconnector.com/v2/ApiService/GetTransactionalDataByContact

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • DataCollection - required; string
  • ContactIdentifier - required; string

Output parameters

  • GetTransactionalDataByContactResult - array of TransactionalData
    • TransactionalData
      • Key - string
      • ContactIdentifier - string
      • Json - string

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var email = "[email protected]";
	var collectionName = "TestCollectionName";
	var transactionalData = client.GetTransactionalDataByContact(collectionName, email);
}