-
Notifications
You must be signed in to change notification settings - Fork 2
GetCreditTermList
PatrickLane edited this page Oct 29, 2014
·
1 revision
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 = ws.Login(entityID, partnerKey, userKey);
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 = ws.Login(entityID, partnerKey, userKey)
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