GetAddressBookById

Gets an address book by ID

This method retrieves an address book by its ID.

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

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Id - required; integer

Output parameters

  • GetAddressBookByIdResult
    • Id - integer
    • Name - string
    • Visibility - string ('Private', 'Public')
    • Contacts - integer

Example

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

	var addressBookId = 1;
	var addressBook = client.GetAddressBookById(addressBookId);
}