FreshBooks RESTful Wrapper for ColdBox
Links
Usage/Syntax
<cfscript>
var freshbooks = getPlugin("freshbooks.freshbooks",true).init();
freshbooks.setAPIURL("https://{SUB_DOMAIN_HERE}.freshbooks.com/api/2.1/xml-in");
freshbooks.setAPIToken("API_TOKEN_HERE");
queryResults = freshbooks.clientList(folder='active',returnFormat='query',returnFields="first_name,last_name,organization,client_id");
</cfscript>
Documentation
You will need to enable your API by logging into your Freshbooks account, click on "My Account" at the top right, then click on the sub-menu 'FreshBooks API'. Listed there will be your API URL and your Authentication Token.
Upcoming Features
- Comlete support for Clients (Add, Edit, & Delete)
- Support for Callbacks, Categories, Edistmates, Expenses, Gateway, Invoices, Items, Payments, Projects, Recurring, Staff, System, Tasks, & Time Entries will be updated in the next few releases
Release Notes
- Initial Release: 1.0 - Includes support for Client List
Support
- Email jeremy.deyoung@lunarfly.com for support