* @param array $params array or parameters determined by getfields
*/
function _civicrm_api3_batch_create_spec(&$params) {
+ //@todo - the entity table field looks like it is not actually required & should probably be removed (or a description added if
+ // it is actually required)
$params['entity_table']['api.default'] = "civicrm_batch";
+ $params['entity_table']['type'] = CRM_Utils_Type::T_STRING;
+
$params['modified_date']['api.default'] = "now";
$params['status_id']['api.required'] = 1;
$params['title']['api.required'] = 1;