Hot answers tagged


From api explorer the results are retrieved using rest api where check_permissions is always set to TRUE by default even though its been explicitly set via api params. If you have check_permissions set to TRUE than api returns only those fields which are defined for the the entity. In your case the fields would be civicrm_api('Contribution', 'getfields', ['...

Only top voted, non community-wiki answers of a minimum length are eligible