# \_templateTypeGet

Fetches the template type.

### Parameters

None.

### Example

```
FM_api('Quotes_templateTypeGet');
```

### Result

#### On Success

The template type will be either:

```
{'0'}
```

for Portable Document Format (PDF) or:

```
{'1'}
```

for a word processing document.

#### On Failure

If the user is not logged in:

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