> 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/job/_setvehicleid.md).

# \_setVehicleId

Assigns a Vehicle to a Job.

### Parameters

#### id

The ID of the Job to assign the Vehicle to.

#### value

The ID of the Vehicle to be assigned.

### Example

```
FM_api('Job_setVehicleId', ['id' => '123', 'value' => '456']);
```

### Result

#### On Success

```
{'ok':1}
```
