Skip to content

Instantly share code, notes, and snippets.

@carloszaragoza
Created March 22, 2017 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carloszaragoza/f43aa3bcfa15cd020461b4d203935f8f to your computer and use it in GitHub Desktop.
Save carloszaragoza/f43aa3bcfa15cd020461b4d203935f8f to your computer and use it in GitHub Desktop.
Cómo hacer una llamada por medio de un controlador desde SugarCRM
App.api.call(‘create’, App.api.buildURL(null, ‘bulk’) ,
{
requests :
[{
url: “/v10/Accounts”, method: “GET”
}]
},
{
success: function (data) { console.log(data)}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment