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

Add last_modified to Contact API

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.5
    • Fix Version/s: 4.5
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      For integrating with external contact data, a client requested addition of a last_modified field in CiviCRM Contact API.

      Initial work (seems functional) for 4.3 here:

      https://gist.githubusercontent.com/xurizaemon/c792897ebc9e5b73dc85/raw/628daf34c4fa40c8b1a28b5669fc694baf2ce657/civicrm-last_modified.patch

      Adds return 'last_modified' to Contact API, retrieves MAX(modified_date) for the matching entity from table civicrm_log & adds to results.

        Attachments

          Activity

            People

            • Assignee:
              xurizaemon Chris Burgess
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: