_setNotes
Adds new notes to or edits existing notes of the Job.
Parameters
id
The ID of the Job.
value
notes of the Job, in JSON format (see example)
Examples
FM_api('Job_setNotes', [
'id' => '123',
'value' => json_encode([
['content'=>'This is a note.'],
['content'=>'This is another note']
])
]);FM_api('Job_setNotes', [
'id' => '123',
'value' => json_encode([
['content'=>'This is a note.',
'createdby'=>32,
'noteTime'=>1770808774347
],
['content'=>'This is another note']
])
]);Result
On Success
On Failure
If no Job ID is provided:
If no notes are provided:
If the Job does not exist:
Last updated