> 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/quotes/_templatetypeget.md).

# \_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'}
```
