Connection to the rest of the world

The API of MoneyBird enables you to access the information inside a MoneyBird account. The API is RESTfull and uses XML for the data representation. On this page you can find all information about the API. Don't hesitate to contact us with your questions on info@moneybird.nl.

For Ruby-on-Rails programmers: don't forget to use ActiveResource! If you want to use the MoneyBird API with PHP, please take a look at the PHP library on GitHub.

Example Activeresource customer

← Back to API documentation
 1 require 'rubygems'
 2 require 'active_resource'
 3 
 4 # Define the ActiveResource class for communication with the API
 5 class Contact < ActiveResource::Base
 6   self.site         = "http://bluetools.moneybird.local"
 7   self.user         = "admin"
 8   self.password     = "testtest"
 9 end
10 
11 # Your customer id
12 customer_id = 1
13 
14 # Fetch information from the contact
15 contact = Contact.find(:one, :from => "/contacts/customer_id/#{customer_id}")
16 puts contact.inspect