# \_getAsPdf

Generate a PDF of the Job and return the binary file.

### Parameters

#### id

The ID of the Job to return.

### Example

```
FM_api('Appointment_getAsPdf', ['id' => '222404']);
```

### Result

#### On Success

Returns a binary file in .pdf format

#### On Not Logged In

```
{'error':'not logged in?'}
```

#### On Appointment Not Existing

```
'no such meeting?'
```
