GetContactsScoreInAddressBook

Gets contact scoring for contacts within a specific address book or segment

This method retrieves contact scoring for contacts in a specific address book or segment.

The select parameter requires a number between 1 and 1000 (0 is not a valid number). You may only select a maximum of 1000 results in a single request. This parameter goes within the URL.

The skip parameter should be used in tandem with the select parameter when wanting to iterate through a whole data set. If you want to select the next 1000 records you should set the select parameter to 1000 and the skip parameter to 1000, which will return records 1001 to 2000. You should continue to do this until 0 records are returned to retrieve the whole data set. This parameter goes within the URL.

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

📘

Input and output parameters

Input parameters

  • AddressBook ID - required; integer
  • Select - optional; integer
  • Skip - optional; integer

Output parameters

  • GetContactsScoreInAddressBookResult - array of ContactScore
    • ContactScore
      • Id - integer
      • Email - string
      • DateModified - dateTime
      • ScoreLabel - string
      • Score - integer
      • Engagement - integer
      • Suitability - integer

Example

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

  int addressBookId = 1;
  int select = 1000;
  int skip = 0;
  var result = client.GetContactsScoreInAddressBook(addressBookId, select, skip);
}