Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19039

API Contact.get does not return employer_id, even when speficied as return parameter

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      {{ $results = civicrm_api3('Contact', 'get', array(
      'contact_type' => 'Individual',
      'return' => 'display_name, contact_id, current_employer, employer_id',
      ));
      }}

      The employer_id attribute is not present in the results, yet it is a column in the DB table.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nganivet Nicolas Ganivet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: