https://github.com/coldbox-modules/cbox-freshbookssdk
Freshbooks SDK for ColdFusion/CFML
https://github.com/coldbox-modules/cbox-freshbookssdk
Last synced: 5 months ago
JSON representation
Freshbooks SDK for ColdFusion/CFML
- Host: GitHub
- URL: https://github.com/coldbox-modules/cbox-freshbookssdk
- Owner: coldbox-modules
- Created: 2017-07-14T16:39:28.000Z (over 8 years ago)
- Default Branch: Authentication
- Last Pushed: 2022-01-11T19:03:19.000Z (about 4 years ago)
- Last Synced: 2025-06-19T14:53:05.698Z (7 months ago)
- Language: ColdFusion
- Size: 53.7 KB
- Stars: 1
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
[](https://travis-ci.org/coldbox-modules/cbox-forgeboxSDK)
# 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.
## IMPORTANT LINKS
- https://github.com/coldbox-modules/cbox-freshbooksSDK
- https://forgebox.io/view/cbfreshbooks
- [Changelog](changelog.md)
## 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:
```js
// 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