-
Notifications
You must be signed in to change notification settings - Fork 2
GetGLAccountList
Arivetti edited this page Aug 8, 2025
·
2 revisions
The GetGLAccountList function retrieves the list of available GL account codes and names from the entity.
public WSResult2OfArrayOfArrayOfString GetGLAccountList(string token)Public Function GetGLAccountList(ByVal token As String) As WSResult2OfArrayOfArrayOfString| 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 )
{
WSResult2OfArrayOfArrayOfString wsgllist = ws.GetGLAccountList(auth);
Assert.IsNotNull(wsgllist);
Assert.IsNotNull(wsgllist.Result);
}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