Check out the first API wrapper class for the Sugar 7 RESTful API

John Mertic —  September 13, 2013 — 3 Comments

I came across the first wrapper API for the new RESTful API with Sugar 7. Community member  has it up on GitHub, ready for folks to start checking out. It’s also installable via Composer.

Here’s a few examples of the usage…

John Mertic

Posts

John Mertic manages the strategic ISV alliances program for SugarCRM, having several years of techincal experience bringing solutions to market with several SugarCRM technology partners. A frequent conference speaker and an avid writer, he has been published in php|architect, IBM Developerworks, and in the Apple Developer Connection, and is the author of the book 'The Definitive Guide to SugarCRM: Better Business Applications' and the book 'Building on SugarCRM: Creating Applications the Easy Way'. He is also president of the OpenSocial foundation, guiding them in solving interoperability issues for enterprise application providers worldwide.

3 responses to Check out the first API wrapper class for the Sugar 7 RESTful API

  1. 

    Line 2 should be $sugar = new SpinegarSugar7WrapperRest();

    Thanks for the shout out!

  2. 

    Nice & clean. Any chance to throw in an example for creating documents?
    As in say:
    /* Upload the file associated with a document to the server */
    $sugar->upload(‘Documents’, $record_id, ‘filename’, ‘/path/to/source’);

    Could not find much in the documentation about docs…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s