_new

Creates a new Skill.

Parameters

name

The name of the created Skill.

description

The set description to go with the new Skill.

Example

FM_api('Skill_new',[
		'name'=>'testing',
		'description'=>'test description'
	]
);

Results

On Success

{'ok':1,'id':123}

On Failure

If the "name" parameter is not set or is empty:

If the "name" parameter matches the name of an already existing Skill: (the ID of said existing Skill is also returned)

Last updated