GetBankList - accountsIQ/API-Wiki GitHub Wiki
The GetBankList
function retrieves the list of available bank from an entity.
public WSResult2OfArrayOfBank GetBankList(string token)
Public Function GetBankList(ByVal token As String) As WSResult2OfArrayOfBank
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 )
{
WSResult2OfArrayOfBank routes = this.ws.GetBankList(this.auth);
if (routes.Status == OperationStatus.Success)
{
foreach (Bank route in routes.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 routes As WSResult2OfArrayOfBank = Me.ws.GetBankList(Me.auth)
If (routes.Status = OperationStatus.Success) Then
Dim route As Bank
For Each route In routes.Result
Next
End If
End If