-
Notifications
You must be signed in to change notification settings - Fork 2
GetCustomerContacts
Arivetti edited this page Aug 8, 2025
·
12 revisions
The GetCustomerContacts function retrieves all contacts for a particular Customer given its customer code from an entity.
HelpJuice links:
How do I Maintain Customer Master Records?
Adding & Editing a Customer Account
public WSResult2OfArrayOfWSAccountContact GetCustomerContacts(string token, string customerCode)Public Function GetCustomerContacts(ByVal token As String, ByVal customerCodeAs String) As WSResult2OfArrayOfWSAccountContact| Parameter | Type | Description |
|---|---|---|
| token | String | The session token retrieved during authentication. |
| customerCode | string | The code of the customer you want to retrieve all contacts from. |
Integration ws = new Integration();
String auth = "";// See Authentication page for more
if (auth != null)
{
var wsCustomerContacts = ws.GetCustomerContacts(auth, "TESTINTEGR");
var customerContacts = wsCustomerContacts.Result;
}Dim ws As New Integration
Dim auth As String = "" // See Authentication page for more
If (Not Me.auth Is Nothing) Then
Dim customerContacts As WSResult2OfArrayOfWSAccountContact = Me.ws.GetCustomerContacts(Me.auth, "TESTINTEGR").Result
End IfWSAccountContact
WSResultStatus
GetSupplierContacts
GetAllCustomerContacts