For the complete documentation index, see llms.txt. This page is also available as Markdown.

_copy

Copies an existing Notification Type.

Parameters

id

The ID of the Notification to be copied.

name

The name of the new copy of the Notification.

Example

FM_api('NotificationType_copy',[
  'id'=>'360001',
  'name'=>'notification copy test'
  ]
);

Results

On Success

{"ok":1,"id":390008}

On Failure

If the "id" parameter is not set:

If the "name" parameter is not set:

If the "id" parameter does not have an integer value:

If the "name" parameter does not have a value after being trimmed:

If there is already a Notification Type with the same name as the "name" parameter:

If the "id" parameter does not match the ID of an existing Notification Type to be copied:

Last updated