# \_setNotes

Add notes to an existing Contract

### Parameters

* id - the id of the contract in question
* notes - a text string containing the content

### Example

```
FM_api(
	'Contract_setNotes', 
	array(
		'id'=>'9'
		'notes'=>'Some notes on this Contract'
	)
);
```

### Results

If the Contract notes are successfully updated, the result will be:

```
{"ok":1}
```

If a valid id parameter is not provided, the following error is returned:

```
{"error":"no ID provided"}
```

If the id parameter is supplied, but no notes, then the following error is returned:

```
{"error":"no notes provided"}
```
