Creates a new Link, or updates an already existing one.

Parameters

id

The ID of the Link. If the ID already exists, the corresponding Link will be updated. If not, a new Link will be created.

name

The name of the Link.

url

The URL of the Link.

Example

FM_api('Link_save', ['id' => '123456', 'name' => 'FieldMotion', 'url' => 'fieldmotion.com']);

Result

On Success

Nothing.

On Not Logged In

{'error':'Not logged in!'}