3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
13 * Get a Dedupe Exception.
15 * @param array $params
16 * Array per getfields metadata.
19 * Array of all found dedupe exception object property values.
21 function civicrm_api3_exception_get($params) {
22 return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__
), $params);
26 * Create or update an dedupe exception.
28 * @param array $params
29 * Array per getfields metadata.
31 * @return array api result array
33 function civicrm_api3_exception_create($params) {
34 return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__
), $params, 'Exception');
38 * Delete an existing Exception.
40 * This method is used to delete any existing Exception given its id.
42 * @param array $params
45 * @return array api result array
47 function civicrm_api3_exception_delete($params) {
48 return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__
), $params);