-
Notifications
You must be signed in to change notification settings - Fork 2
GetCreditTermList
Arivetti edited this page Aug 8, 2025
·
2 revisions
The GetCreditTermList function retrieves the list of available CreditTerms from the entity.
public WSResult2OfArrayOfCreditTerm GetCreditTermList(string token)Public Function GetCreditTermList(ByVal token As String) As WSResult2OfArrayOfCreditTerm| Parameter | Type | Description |
|---|---|---|
| token | String | The session token retrieved during authentication. |
Integration ws = new Integration();
String auth = "";// See Authentication page for more
if (auth != null)
{
WSResult2OfArrayOfCreditTerm wsctlist = ws.GetCreditTermList(auth);
Assert.IsNotNull(wsctlist);
Assert.IsNotNull(wsctlist.Result);
// Do something with each credit term
}Dim ws As New Integration
Dim auth As String = "" // See Authentication page for more
If (Not Me.auth Is Nothing) Then
Dim wsctlist As WSResult2OfArrayOfCreditTerm = Me.ws.GetCreditTermList(Me.auth)
Assert.IsNotNull(wsctlist)
Assert.IsNotNull(wsctlist.Result)
End If