• Invalid_grant error happening occasionally for a given access token

    Hello Everyone, For one user we've seen that the access token was sometimes returning a invalid_grant, but ahead and later requests with exactly the same token did succeed. This happened on sugarondemand.com hosted instance. Below I include response…
  • How to get Inactive Users via api call from outside sugar.

    Hi, I am trying to find a user in sugar via user_name field and that user is inactive. While making api call via postman i am not getting that inactive user detail. http://<localhost>/rest/v11/Users/?filter[0][user_name]=Test Is there any param available…
  • getting duplicate session storage in sugacrm

    Hello Team, I'm creating a plugin for a custom requirement, and for this, I need unique session storage(let's say tabID) on each tab. but session storage is behaving very strange with SugarCRM while in normal Html is it behaving correctly. For example…
  • SUGAR.App.api.call('put') example

    i want to apply SUGAR.App.api.call('put') example in my sugar crm js controller I want to do update operation I have 'create' code already app . api . call ( 'create' , app . api . buildURL ( 'module' ), record , { success : function ( data…
  • How to display Show More records in custom Subpanel

    Hi All, I have one custom subpanel in contacts module. All the record values for that subpanel are coming from other services using REST API's and also we are not saving those records in DB as well. I have overridden the filterRelated function in clients…
  • Add support for upserts in SugarCRM API

    Hi SugarCRM, I'd like to highlight this as a key missing element for the SugarCRM API. Specifically, this API allows us to integrate more easily with external systems by using the upsert functionality based on an external key or id. It's available in…
  • Integrating Sugar with a CMS using REST APIs

    SugarCRM strives to be the "No-Touch" CRM . One of the most important steps in making this vision a reality is to integrate Sugar with systems that customers uses to engage with organizations. For example, if a customer has been recently complaining about…
  • The Sugar REST API adds support for OAuth 2.0 bearer tokens in Fall '18

    You’ve been asking for it. We’ve been listening. We're improving our support of OAuth 2.0 standards by adding support for RFC 6750 bearer tokens in the Sugar Fall ‘18 release. So what's changing? You’ll still authenticate to get the access token the same…
  • New tutorial!  How to register custom platforms in Sugar instances

    In Sugar 8 / Spring '18, Sugar administrators can now configure API platforms using the Administration panel. The Platform extension is still available if you want to register a custom API platform as part of a Module Loadable Package. If you have a REST…
  • 3 Tips for using the Sugar Metadata API

    What is the Sugar Metadata API? As you probably know, Sugar metadata encompasses the settings, data model ( Vardefs ), and visual layouts ( Viewdefs ) used by the Sugar application. The majority of changes made to Sugar using Sugar Studio, Module Builder…
  • Programatically manage Dropdown List

    Custom API developed in order to change/add/delete key's from a dropdownList This API have 2 ways to be called, that works for 3 different means: Add a new Key from a DropDown rest/v10/DropdownListKey/add Edit an existing Key from a DropDown…
  • How to Use REST API ? and what are the Endpoints for Sugarcrm for Enterprise edition ? for User Management

    I am looking for API which will handle User Management endpoints. example - Create User, Delete userr, assign roles to the user etc. please suggest. thanks in advance !
  • REST API - "fields" param brakes returned dataset in some situations

    Hi, I think something does not work right with "fields" param ( https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_9.0/Integration/Web_Services/REST_API/E… ). It works as expected when I use "fields=title": → curl -s -H …
  • How to create a document and attach it to a specific case

    Hi, I'm trying to send a post request in order to create a document and then attach it to an existed case. I'm using postman to send a request, the setup looks like this: https://i.imgur.com/Imm1pF1.png The document was created but it doesn't include…
  • REST API - Update Textarea Field with 40KB data amount

    Dear community, We're running our CRM (Version 8.0.3) on Windows with an IIS as web server. Database is Oracle. SUGAR-CRM is the only application on that server. Oracle is hosted on a separate Unix-Server in the same environment. I use the SUGAR API to…
  • What is the maximum value for max_num in the module list API

    Hi there, What is the maximum value for max_num in the module list API (Max number of results returned from Sugar per page)? Is it varying for each API / Sugar Instance version? Is this configurable by Sugar instance admin? I want to get all contacts…
  • Need help with RestSharp call to POST /bulk endpoint

    Has anyone used RestSharp in .NET to make a POST to the /bulk interface? I'm currently creating several related records by looping thru them individually...each loop makes a separate POST call using the same info other than the Parameter JSON string.…
  • How to set REST API access privileges by role

    Our Sugar 8.3 instance is integrated with another application (ServiceNow) using REST API, where data is sent from Sugar to ServiceNow, and ServiceNow record ids are saved in Sugar modules. If the API logs into Sugar as a non-admin user, then Sugar does…
  • Does Sugar 8.3 API work with On-Premise?

    Hello, Does the 8.3 API work with On-premise customers or just for cloud? I see that it says it's only for cloud. What happens if an on-premise customer uses it? And I see that the newly released 9.0 only mentions on-premise. Does that mean it won't work…
  • Is there an endpoint to create a custom platform?

    Hello, I have provided SugarCRM integration as an option for our website. I have been using "base" platform for making API calls. As using this platform causes login conflict, I am planning on asking the users to add a custom platform by a name I specify…
  • Disable updating Date Modified when making a REST API call

    I'm making an API call from an external service to change a custom field in the Accounts module in Sugar 8.3. The difficult part is that, when the field is changed, I don't want the "date-modified" field to change. I think that one way to do this is to…
  • Get labels of all the fields available for a module

    Hello, I have a requirement where I need to get the list of all fields available for a module. I am currently using this endpoint to get the data: /rest/v11/metadata?type_filter=modules&module_filter=Contacts Everything is working fine with this except…
  • Getting the Organization ID of the user

    Hello, I am storing the organization ID of each integrated account in our database, but I can't seem to find it in the rest api response of SugarCRM. I am using this endpoint for getting the current user data. /rest/v11/me The ID of the current user is…
  • Email address for SugarCRM account owner in free trial accounts

    Hi, I'm using a free trial account for integrating SugarCRM with the product. In our product, we show the email address of the connected account in a few places in the UI. In case of SugarCRM trial account, it doesn't have an email address. I checked…
  • Get / Put Strategy When Programming With REST API

    I'm creating a custom VB.NET application that accesses our instance using the REST API. I'm wondering if anyone can recommend a general strategy for preventing records from being edited in the time between the custom app GET and PUT calls are made? I…
1 2 3 4