GetGLAccountList - accountsIQ/API-Wiki GitHub Wiki

The GetGLAccountList function retrieves the list of available GL account codes and names from the entity.

Declaration

C#

public WSResult2OfArrayOfArrayOfString GetGLAccountList(string token)

Visual Basic

Public Function GetGLAccountList(ByVal token As String) As WSResult2OfArrayOfArrayOfString

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 )
{
  WSResult2OfArrayOfArrayOfString wsgllist = ws.GetGLAccountList(auth);
  Assert.IsNotNull(wsgllist);
  Assert.IsNotNull(wsgllist.Result);
}

Visual Basic

Dim ws As New Integration_1_1

Dim auth As String = ws.Login(entityID, partnerKey, userKey)      
If (Not Me.auth Is Nothing) Then
  Dim wsgllist As WSResult2OfArrayOfArrayOfString = Me.ws.GetGLAccountList(Me.auth)
  Assert.IsNotNull(wsgllist)
  Assert.IsNotNull(wsgllist.Result)
End If

See Also

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