# \_setJobRefCustomer

Set a Customer job reference on a Job.

### Parameters

#### id

The ID of the Job.

#### value

The Customer job reference.

### Example

```
FM_api('Job_setJobRefCustomer', ['id' => '123', 'value' => 'ExampleCustomerJobRef']);
```

### Result

#### On Success

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

If the Job already has the Customer job reference:

```
{'ok':1,'warning':'value already set'}
```

#### On Failure

If no Job ID is provided:

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

If no Customer job reference is provided:

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

If the Job does not exist:

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