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

rest API Call to fetch relationship types broken in 3.2

    Details

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

      Description

      Regarding civicrm_relationship_types_get or civicrm_relationship_type_get

      In version 3.1, I was able to fetch all relationship types after authenticating using a URL like this one:
      http://www.server.org/administrator/components/com_civicrm/civicrm/extern/rest.php?q=civicrm/relationship/types_get&json=1&PHPSESSID=*redacted*&api_key=redacted*key=*redacted*&rowCount=1000

      After upgrade to 3.2, this results in the following JSON error object:

      {"error_message":"Unknown function called: civicrm_relationship_types_get","is_error":1}

        Attachments

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              jubesz Jeffrey Gipson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: