BoxLang 🚀 A New JVM Dynamic Language Learn More...
With this module you will be able to access and manage your Reeleezee account via API. It implements the most of the functionalities of the API. For modifications or new functionalities, please check the official Reeleezee Api documentation.
Via CommandBox, by executing the next line (with parameters if needed):
box install reeleezee-api
Via box.json
, just add the correspondent lines:
"devDependencies":{
"reeleezee-api":"1.0.1"
},
"installPaths":{
"reeleezee-api":"models/reeleezee-api"
},
"dependencies":{
"reeleezee-api":"^1.0.1"
}
You need to place your credentials in your Coldbox.cfc
file like this:
reeleezee = {
username = "###########",
password = "###########",
url = "https://portal.reeleezee.nl/api/v1/"
}
Once it's configured you can access everything in your Reeleezee account in this way:
reeleezee.domain.invoice.Invoice
For invoices
reeleezee.domain.customer
For customers
etc.
property name="profitandlossesservice" inject="models.reeleezee.interface.profitandlosses.Profitandlossesservice";
...
prc.profitandlosses = Profitandlossesservice.getProfitAndLossesForYear(year=prc.year);
$
box install reeleezee-api