How to use the web service of SUITECRM to login with my mobile application hybrid

How to use the web service of SUITECRM to login with my mobile application hybrid

  

I customize the application web sugarCRM to my need and I have to realize a hybrid mobile application using Ionic framework and AngularJS. I want to make a authentication from the mobile application. In my folder js/factory/userProvider.js i have this code

app.factory('userProvider', function($rootScope, $http) { 
    function signIn(User) { 
       var url = 'The url of the api '; 
       $http.post(url,Userser).success(function (response) { 
          console.log(response); 
       }); 
       return{ signIn: signIn } 
    }
});

My big problem is that SugarCRM already has web services and I don't know the url to use for the authentication.

In my folder js/controllers/homepageController i have this code :

app
.controller('homepageIndex', function ($scope) { }) 
.controller('homepageLogin', function ($scope, userProvider) {    
    $scope.user = {}; 
    $scope.signIn = function (user) { userProvider.signIn(user); } 
});

So I want to know how to use the web services of sugarCRM to authenticate in my mobile application.

Hi Saad,

your question is great but in a forum about angular and/or Ionic (try to post it in stack overflow). By the way, you can make that hybrid application in OutSystems most easily and fast than with those technologies. Give it a try ;)

Regards,
Thomas

Thomas Robinson wrote:

Hi Saad,

your question is great but in a forum about angular and/or Ionic (try to post it in stack overflow). By the way, you can make that hybrid application in OutSystems most easily and fast than with those technologies. Give it a try ;)

Regards,
Thomas


Thank you Thomas for your response, outSystems is opensource ?