> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/jobtype/_setnotes.md).

# \_setNotes

Sets notes for a Job Type.

### Parameters

#### id

The id of the Job Type.

#### value

The notes made for the Job Type.

### Example

```
FM_api(
    'JobType_setNotes',[
        'id' => '122039',
        'value' => 'Test Notes'
    ]
);
```

Sets a Job Type assigned the ID "122039" with the notes "Test Notes"

### Results

#### On Success

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

#### On Failure

If no ID parameter is included

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

If no value parameter is included

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

If there is no Job Type with the provided id

```
{"error":"appointment does not exist"}
```
