GetGLAccountList - accountsIQ/API-Wiki GitHub Wiki
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 = ws.Login(entityID, partnerKey, userKey);
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