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

contact api does not return state_province_name

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4, 4.5
    • Fix Version/s: 4.6
    • Component/s: CiviCRM API
    • Labels:
      None
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Core Team Funds

      Description

      As of 4.4.6 and 4.5 (today) - state_province_id and state_province are returned but state_province_name is not.

      — original post -------
      when using contact get or getsingle API, the state_province value is not populated. both the state_province_name and state_province_id are filled, but the abbreviation is missing.

      confirmed on both 4.4 and 4.5.a1
      http://drupal.demo.civicrm.org/civicrm/api/explorer#/civicrm/ajax/rest?entity=Contact&action=getsingle&debug=1&sequential=1&json=1&id=66
      http://drupal.sandbox.civicrm.org/civicrm/api/explorer#/civicrm/ajax/rest?entity=Contact&action=getsingle&debug=1&sequential=1&json=1&id=91

        Attachments

          Activity

            People

            • Assignee:
              lcdweb Brian Shaughnessy
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: