_setNote

Sets a Note for an Email which Tasks will be Imported to.

Parameters

id

The ID of the Email.

val

The Notes to be put onto the email

Example

FM_api('ImportTasksEmail_setNote',[
    'id'=>'90186',
    'val'=>'Test Note'
    ]
);

Results

On Failure

If the "id" parameter is not given a value or has a value less than 1:

{"error":"missing or invalid parameter: id"}

If the "val" parameter has no value after being trimmed:

{"error":"missing or invalid parameter: val"}

If the "val" parameter has over 65535 characters in length:

{"error":"parameter val too long. max length 65535"}

If the "id" parameter does not match the ID of an existing email:

{"error":"that import does not exist"}

On Success

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

Last updated