wiki:CiviCRM API - Adding Custom Values to Case Get

Version 2 (modified by Richard Bramley, 11 years ago) ( diff )

--

CiviCRM API - Adding Custom Values to Case Get

Getting entities filtered by the value of custom field is only available for Contacts. Below is a deconstruction of the get API function for Contacts. Hopefully it'll show where the custom field magic happens.

Each method gets a section (with the file it is in parenthesis) which contains a list of the functions that it calls. Hopefully I'll add some explanations of the processes that occurs in each later on.

civicrm_api3_contact_get (api/v2/Contact.php)

  1. _civicrm_api3_contact_get_supportanomalies (api/v2/Contact.php)
  2. _civicrm_api3_get_using_query_object (?)
  3. civicrm_api3_create_success (?)

_civicrm_api3_contact_get_supportanomalies (api/v2/Contact.php)

Note: See TracWiki for help on using the wiki.