-
Notifications
You must be signed in to change notification settings - Fork 2
GetSupplierContacts
Leandro Rowies edited this page Nov 11, 2022
·
5 revisions
The GetSupplierContacts
function retrieves all contacts for a particular Supplier given its supplier code from an entity.
HelpJuice link:
How do I Maintain Supplier (Vendor) Master Records?
public WSResult2OfArrayOfWSAccountContact GetSupplierContacts(string token, string supplierCode)
Public Function GetSupplierContacts(ByVal token As String, ByVal supplierCodeAs String) As WSResult2OfArrayOfWSAccountContact
Parameter | Type | Description |
---|---|---|
token | String | The session token retrieved during authentication. |
supplierCode | string | The code of the supplier you want to retrieve all contacts from. |
Integration ws = new Integration();
String auth = ws.Login(entityID, partnerKey, userKey);
if (auth != null)
{
var wsSupplierContacts = ws.GetSupplierContacts(auth, "TESTINTEGR");
var supplierContacts = wsSupplierContacts.Result;
}
Dim ws As New Integration
Dim auth As String = ws.Login(entityID, partnerKey, userKey)
If (Not Me.auth Is Nothing) Then
Dim supplierContacts As WSResult2OfArrayOfWSAccountContact = Me.ws.GetSupplierContacts(Me.auth, "TESTINTEGR").Result
End If
WSAccountContact
WSResultStatus
GetCustomerContacts
GetAllCustomerContacts
GetAllSupplierContacts