_setNotes
Sets the notes of a Quote.
Parameters
id
The ID of the Quote.
notes
The notes which will be assigned to the Quote.
Examples
FM_api('Quote_setNotes',[
'id'=>'339009',
'notes'=>'test note.'
]);
FM_api('Quote_setNotes',[
'id'=>'339009',
'notes'=>'This is
a test note.'
]);
Results
On Success
{'ok':1}
If the string parameter "notes" has the exact same data as the current Quote notes:
{"ok":1,"warning":"no change necessary"}
On Failure
If the "id" parameter is missing or has a value less than 1:
{"error":"missing or invalid parameter: id"}
If the "notes" parameter is missing:
{"error":"missing or invalid parameter: notes"}
If the "id" parameter value does not match the ID of any existing Quote:
{"error":"quote does not exist"}
Last updated