Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.4
-
Fix Version/s: 4.5
-
Component/s: CiviCRM API
-
Labels:None
Description
In most API's the Get action can be used to get all of them (contacts, activities etc.). This can not be done for the Case API, if you call it like this:
Code: [Select]
$apiCases = civicrm_api( 'Case', 'Get', array('version'=>3 ));
an error message is returned:
Code: [Select]
From a consistency point of view I would say it should return all cases.
See forumpost http://forum.civicrm.org/index.php/topic,29330