Can I use a custom module with /<module>/filters?

I'm trying to use the <siteurl>/<module>/filters endpoint. 

I have it working with the following modules:

<siteurl>/Cases/filters

<siteurl>/Accounts/filters

But it's not working with the module below:

<siteurl>/PayServiceProviders/filters

Error I receive:

status code: 404
{"error":"no_method","error_message":"Could not find a route with 2 elements"}

-----------------------------------------------------------------------------------

There is a 'PayServiceProviders' in my sugar but I'm not sure if 'PayServiceProviders' is a custom module or not.  I couldn't find a list of default modules that come with sugarcrm to determine that.

If it's a custom module, I'm I able to extract data using the filters endpoint?

Any help is much appreciated, thanks

Parents
  • If the module was created using Module Builder, there should be a Key used as a prefix to the table names. You probably need to include this in your API call. For example, if the Key was Pay, you'd use Pay_PayServiceProviders

    You can navigate to the module via the UI and check the URL for the value after <site url>/index.php# - that would show the prefix/key.

    Business Analyst

    Technology Advisors, Inc.

Reply
  • If the module was created using Module Builder, there should be a Key used as a prefix to the table names. You probably need to include this in your API call. For example, if the Key was Pay, you'd use Pay_PayServiceProviders

    You can navigate to the module via the UI and check the URL for the value after <site url>/index.php# - that would show the prefix/key.

    Business Analyst

    Technology Advisors, Inc.

Children