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