How to fetch every fields of a module in SugarCRM with its v10 api ?
In rest v4 we had get_module_fields
to fetch fields.
My question is basically the same as this one
When I try http://<sugarcrm>/rest/v10/metadata
, Postman tells me that I need to enable Javascript !
Not sure why Postman says it needs Javascript.
Maybe because the data is too much to display as plain-text? You could try to reduce the response payload by limiting it to the module you need:
e.g. for Accounts module: /rest/v10/metadata?module_filter=Accounts&type_filter=modules
You can find the list of fields in responseData.modules.<module>.fields
Supply all the fields' names in the fields
array of your module/filter requests to receive their contents.