_new

Creates a new department

Parameters

name

Name of new department

Example

FM_api('Department_new', ['name'=>'Testing'])

On Success

Returns success and new department id "{"ok":1,"id":4}"

On Error (No Name)

"{"error":"no name supplied"}"

Last updated