+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* Array of parameters determined by getfields.
*/
function _civicrm_api3_grant_create_spec(&$params) {
+ $params['contact_id']['api.required'] = 1;
$params['grant_type_id']['api.required'] = 1;
+ $params['status_id']['api.required'] = 1;
+ $params['amount_total']['api.required'] = 1;
$params['status_id']['api.aliases'] = array('grant_status');
}