FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

Reeleezee API

v1.0.3 Public

Reeleezee API

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.

Installation

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"
    }

Credentials

You need to place your credentials in your Coldbox.cfc file like this:

reeleezee = {
	username = "###########",
	password = "###########",
	url = "https://portal.reeleezee.nl/api/v1/"
}

Retrieve objects

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.

Example of use:

property name="profitandlossesservice" inject="models.reeleezee.interface.profitandlosses.Profitandlossesservice";
...
prc.profitandlosses = Profitandlossesservice.getProfitAndLossesForYear(year=prc.year);

Dependencies (0)


Dev Dependencies (0)


 

$ box install reeleezee-api

No collaborators yet.
 
  • Dec 19 2017 05:59 AM
  • Nov 05 2019 07:48 AM
  • 769
  • 864
  • 241