For fields whose values are picklists, whether they be default or customized, is there a way to retrieve the available options for a given field via API? Such metadata would be quite useful.
The REST endpoint in Sugar 7, GET /lang/:lang will return the full language file for a given language (such as en_us for United Status English). Within the returned data, so long as you know the name of the list of options, you'll be able to locate all the available options.
I can provide an example PHP script and result if you'd like. More information and examples are available in our Developer Guide.
Advanced Support Engineer
Learning Resources: http://support.sugarcrm.com | http://university.sugarcrm.com | http://community.sugarcrm.com
Retrieving data ...