GetAllCustomerContacts - accountsIQ/API-Wiki GitHub Wiki

The GetAllCustomerContacts function retrieves all customer contacts from each customer for a an entity.

HelpJuice links:
How do I Maintain Customer Master Records?
Adding & Editing a Customer Account

Declaration

C#

public WSResult2OfArrayOfWSAccountContact GetAllCustomerContacts(string token)

Visual Basic

Public Function GetAllCustomerContacts(ByVal token As String) As WSResult2OfArrayOfWSAccountContact

Parameter List

Parameter Type Description
token String The session token retrieved during authentication.

Example

C#

Integration ws = new Integration();

String auth = ws.Login(entityID, partnerKey, userKey);
if (auth != null)
{
  var wsCustomerContacts = ws.GetAllCustomerContacts(auth).Result;
  var customerContacts = wsCustomerContacts.Result;
}

Visual Basic

Dim ws As New Integration

Dim auth As String = ws.Login(entityID, partnerKey, userKey)
If (Not Me.auth Is Nothing) Then
  Dim customerContacts As WSResult2OfArrayOfWSAccountContact = Me.ws.GetAllCustomerContacts(Me.auth).Result
End If

See Also

WSAccountContact
WSResultStatus
GetAllSupplierContacts
GetSupplierContacts
GetCustomerContacts

⚠️ **GitHub.com Fallback** ⚠️