aqbanking: how do I access request status code?

G. Paul Ziemba pz-gnucash-devel at ziemba.us
Sun May 18 14:08:16 EDT 2014


I'm writing a simple application using the aqbanking library to 
fetch transaction info via ofx.

I can see in the log messages that the OFX status fields are parsed by
aqbanking, for example:

    Status for signon request: General error (Code 2000, severity "ERROR")
    Status for transaction statement request: Signon invalid (Code 15500, severity "ERROR")

However, I can not figure out how to access these codes programmatically
after AB_Banking_ExecuteJobs() completes. I presume they are somewhere
in the "context" structure, but so far I can't find any functions
to access them.

Thanks for any suggestions.
-- 
G. Paul Ziemba
FreeBSD unix:
11:06AM  up 112 days, 12:05, 21 users, load averages: 1.98, 1.85, 1.77


More information about the gnucash-devel mailing list