BoxLang 🚀 A New JVM Dynamic Language Learn More...

Freshbooks CFML SDK

v0.1.0-snapshot Modules

Build Status

WELCOME TO THE COLDBOX FRESHBOOKS MODULE

This module will connect your ColdBox applications to the Freshbooks API (https://www.freshbooks.com/developers)

LICENSE

Apache License, Version 2.0.

SYSTEM REQUIREMENTS

  • Lucee 4.5+
  • ColdFusion 10+

INSTRUCTIONS

Just drop into your modules folder or use CommandBox to install

box install cbfreshbooks

Settings

Create a cbfreshbooks struct inside of your config/Coldbox.cfc under the moduleSettings configuration structure. Below are the following settings for this module:

// Module Settings
moduleSettings = {
    // Freshbooks Module Settings
			cbfreshbooks = {
				authentication_credentials = {
					clientID = "",
					clientSecret = ""
				},
				redirectURI = ""
			}
};

WireBox Mappings

The module will register the sdk for you as:

  • SDK@cbfreshbooks

Activation

You must allow your FreshBooks account to be used by the module, to do so, please run the "activate" action event of the Activation handler and click the activate button

Implemented Endpoints and methods

  • Clients Get Single Client: Create Single Client Update SIngle Client Delete Single Client List Clients
  • Expenses Get Expense Create Expense Update Single Expense Delete Single Expense List Expenses
  • Gateways List Gateways
  • Invoices Get Single Invoice Create Single Invoice Update Single Invoice Delete Single Invoice List Invoices
  • Expense Categories Get Single Expense Category List Expense Categories
  • Estimates Get Single Estimate Create Single Estimate Update Single Estimate Delete SIngle Estimate List Estimates
  • Items Get Single Item Create Single Item Update Single Item Delete SIngle Item List Items
  • Payments Get Single Payment Create Single Payment Update Single Payment Delete Single Payment List Payments
  • Taxes Get Single Tax Create Single Tax Update Single Tax Delete Single Tax List Taxes
  • Staff Get Single Staff Update Single Staff Delete Single Staff List Staff
  • Time Entries Fetch Time Entries Create a Time Entry Update a Time Entry Delete a TIme Entry
  • Projects Get Single project Create Project Update Project Delete Project List Projects

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com


####HONOR GOES TO GOD ABOVE ALL Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.

"Therefore being justified by faith, we have peace with God through our Lord Jesus Christ: By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God. And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us. ." Romans 5:5

###THE DAILY BREAD

"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12

CHANGELOG

1.0.0

  • Initial Version

$ box install cbModule

No collaborators yet.
     
  • {{ getFullDate("2018-08-14T14:44:09Z") }}
  • {{ getFullDate("2018-08-14T14:44:09Z") }}
  • 1,970
  • 1,802