AnsweredAssumed Answered

Questions regarding custom modules and custom views in REST API

Question asked by R V on Feb 6, 2019
Latest reply on Feb 13, 2019 by Harald Kuske

Hi,

 

I am integrating SugarCRM into our product. I'm done with most of the functionalities but still stuck in a few areas related to custom modules and custom views. Any help would be really appreciated. Here are the questions:

 

About custom modules, How do I get the list of custom modules in the account? The metadata API lists the custom modules I've created along with the other modules. I can't seem to find a way to separate and list only

 the custom modules.

 

The custom views I've created are not listed along with views or filters when I check the metadata API. Only the existing views like favorites, recently viewed are listed. Even with those I am unable to filter the records based on them. I tried this end point:

/rest/v11_4/Contacts/filter?filter_id=recently_viewed

For which I'm getting the following response:

{
"error": "not_found",
"error_message": "Could not find record: recently_viewed in module: Filters"
}

 

EDIT : I found out that the filters endpoint is for the /v11_4/Filters end point. And that's where the custom created views are also listed. I was hoping to find the favourites, recently created, recently viewed views there too along with it.

Outcomes