Want to call Webapi set entry Suite CRM 6.5 - sugarcrm

I have a Login form with three fields. I want to post the data into a specific module of sugar through API. Where do I write that API? I set the entry point and the call but don't know how to hit that API.

Custom API methods should be written in the following file:
custom/service/v4_1_custom/SugarWebServiceImplv4_1_custom.php
This is described in the old but relevant sugarcrm docs and then should be available like any other suite API call.

Related

how do I call salesforce APEX From rest api

I find tons of articles explaining how to call rest apis from APEX - but I'm accessing salesforce from an integration system using the Salesforce REST API, and want to it the other way around.
ie -
I've found functionality (record merging) - that is not available from the rest API, but IS available from apex. Is there any way to run an apex statement or script from the rest API?
NOTE: I'm aware that the functionality also available from the SOAP api, but we really don't want to go near that for various reasons.
you want to REST API endpoints in APEX, so that you can call this endpoint from anywhere, Right? if so then you need to check this article.
After reading above article, you are able to create GET, POST, DELETE endpoint in your Salesforce Org and you can use this endpoints.

DocuSign SOAP API for User list

I am trying to get the users associated with DocuSign account using SOAP API.
I tried API GetMembershipSummary(), but is giving an error "Invalid_Login" although X-DocuSign-Authentication is set, and valid email id of admin is provided.
I did noticed that this method is reserved by DocuSign based on this link
The rest API /users is working fine, but I still need equivalent SOAP API.
you are correct. this is one of these things that can only be done using the REST API.
The SOAP API is not currently supported. Meaning, we won't add features or make modifications to it. I highly recommend to use the REST API. If you already have a SOAP Application, you can use the REST API for newer features.

Use ServiceNow forms for outbound post calls

I am trying to use the servicenow form field to populate the values of an external application with a create api call.
My attempt was to create a servicenow application with studio. In studio, I clicked "Create Application File" > "OutBound Integrations" > "Rest Message", and I was able to add the api endpoint, and I ran the test to make a post call to the api. And when I went to the api application, the value was there; so that's great! Now I'm trying to add a form to the servicenow application, so that the values added to the fields will not only show in servicenow, but also to the api. Is this possible, and how do I go about doing this?
The Solution to this was Business rule. In ServiceNow Studio, I created a new application and added Business Rule. In there, I was able to add a server-side script to make it work.
Here's a documentation from ServiceNow to make it work:
https://developer.servicenow.com/app.do#!/training/article/app_store_learnv2_rest_london_outbound_rest_integrations/app_store_learnv2_rest_london_exercise_write_a_script_to_invoke_the_rest_message?v=london

Sugar CRM REST API module extension

I am achieved the login functionality through REST API provided by sugarCRM ,
http://<url>/service/v2/rest.php?method=login&input_type=JSON&response_type=JSON&rest_data={"user_auth":{"user_name":"Vsree","password":"0141ffbe5e8d1cbaaeee96b3ca49cc49"}}
also updated the login response from
service\core\SugarWebServiceImpl.php
i am updated the response and its working fine . but it is a suiteCRM core module , i want to extend the login functionality with out affecting core modules, So how can i extend the modules inside suircrm .How can i achieve this
In order to change the login you need to create a custom version of the modules that the login process uses in the custom/modules directory.
The authentication is handled by the users module. You could create your own type of authentication by copying one from modules/Users/authentication/
and pasting it in custom/modules/Users/authentication/.
This will give you a means to extend or to create your own authentication method.
You may wish to simply copy the SugarAuthenticate. Then you can create a custom version of it.

Module access in Sugar CRM - difference (non-admin) between soap and web?

We've a custom rigging of Sugar (using GWT for various front end stuff), and we use the SOAP API for much of our querying (vs. directly to the DB).
One of the API calls to check credentials is get_available_modules, which returns all available modules for a given user. How could a user have access to a module in the web interface, but not via a SOAP call (same session id?).
Not entirely sure on your question. Do you want a user to hve access to one set of modules from web and another set via soap? Or is there a difference on you setup?
First off, there should not be a difference between a user's available modules on web and soap calls.
If you want a different set for each access method, you need to change e.g. "get_available_modules" in the soap web service. One crude approch could be to make an override array in config_override.php abd check against that array in the soap function.