a2billing-flask-api
a2billing-flask-api copied to clipboard
Restful A2Billing APIs in Flask
Hi curl -u admin:admin --dump-header - -H "Content-Type:application/json" -X POST --data '{"username": "343434232322", "useralias": "343434232322", "lastname": "Belaid", "firstname": "Areski", "uipass": "2323f2323323", "credit": "5", "tariff": "1", "sip_buddy": "1", "iax_buddy": "1" }'...
hi i follow your instruction to install a2billing-flask-api but i faced whit bellow error in ubuntu 14.04: wtf-peewee 3.0.0 has requirement peewee>=3.0.0, but you'll have peewee 2.7.3 which is incompatible....
When doing a refill on a card with a call like: `curl -u user:pass -H "Content-Type:application/json" -X POST -d '{"credit": 1}' http://11.11.111.11:8008/custom_api/refill/1` ...the **date** columns for **cc_logpayment** and **cc_logrefill** are...
I'm getting HTTP/1.1 403 FORBIDDEN while adding card and 400 BAD REQUEST while trying de update existing one. `curl -u admin:admin --dump-header - -H "Content-Type:application/json" -X POST --data '{"name": "mygroup",...