function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pratik SathayePratik Sathaye 

What are the steps to Integrate Salesforce with assembla

I am newbie to Salesforce.

What I want to do is to integrate salesforce with assembla

The scenario is like whenever a case is created I need to call my REST API ( developed in JAVA ) which will call the Assmebla API.

I want to know what are the steps I need to follow to do this ?

Thanks

Best Answer chosen by Pratik Sathaye

All Answers

Frédéric TrébuchetFrédéric Trébuchet
This was selected as the best answer
Pratik SathayePratik Sathaye

Hi,

Thats really helpful.

But can you please tell me by using triggers and using apex callout is only way to connect with external APIs or is their any other than this to achieve this ?

Thanks

Frédéric TrébuchetFrédéric Trébuchet
Hi,

Of course not. You can use callout at least everywhere Apex is allowed.
This paper may help you understanding Apex Web Service integration https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts.
Also, notice you can have callout from Visualforce pages. For example have a look here http://elierodrigue.com/tag/visualforce/ or here http://saramorgan.net/2013/07/17/visualforce-controller-extensions-and-custom-controllers/ for something about custom controllers.
Which layer you decide to use callout depends of what you have to do (enrich user interface with external data? get external data before upsert? push data to legacy? and son on...)

Don't forget to mark this subject as Solved to help anyone if you're satisfied with the answers and encourage people with Like or Best answer tag ;)
Hope this helps.
Fred
Pratik SathayePratik Sathaye

Thanks for your answer Frédéric.

It solved my problem.

Currently I think I need to use Triggers and Callouts, both.
I will go through links you mentioned once again.
Thanks

Frédéric TrébuchetFrédéric Trébuchet
You're welcome. Let us know.