biweeklybudget.flaskapp.views.reconcile module¶
-
class
biweeklybudget.flaskapp.views.reconcile.
OfxUnreconciledAjax
[source]¶ Bases:
flask.views.MethodView
Handle GET /ajax/unreconciled/ofx endpoint.
-
methods
= {'GET'}¶
-
-
class
biweeklybudget.flaskapp.views.reconcile.
ReconcileAjax
[source]¶ Bases:
flask.views.MethodView
Handle POST
/ajax/reconcile
endpoint.-
methods
= {'POST'}¶
-
post
()[source]¶ Handle POST
/ajax/reconcile
Request is a JSON dict with two keys, “reconciled” and “ofxIgnored”. “reconciled” value is a dict of integer transaction ID keys, to values which are either a string reason why the Transaction is being reconciled as “No OFX” or a 2-item list of OFXTransaction acct_id and fitid. “ofxIgnored” is a dict with string keys which are strings identifying an OFXTransaction in the form “<ACCT_ID>%<FITID>”, and values are a string reason why the OFXTransaction is being reconciled without a matching Transaction.
Response is a JSON dict. Keys are
success
(boolean) and eithererror_message
(string) orsuccess_message
(string).Returns: JSON response
-
-
class
biweeklybudget.flaskapp.views.reconcile.
ReconcileView
[source]¶ Bases:
flask.views.MethodView
Render the top-level GET /reconcile view using
reconcile.html
template.-
methods
= {'GET'}¶
-