---
title: "GET /ver2/FormTemplateService.svc/formtemplates/{formTemplateIdOrName}/versions"
method: GET
path: "/ver2/FormTemplateService.svc/formtemplates/{formTemplateIdOrName}/versions"
tags: ["FormTemplate"]
---

# GET /ver2/FormTemplateService.svc/formtemplates/{formTemplateIdOrName}/versions

`GET /ver2/FormTemplateService.svc/formtemplates/{formTemplateIdOrName}/versions`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/FormTemplateService.svc/formtemplates/{formTemplateIdOrName}/versions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/FormTemplateService.svc/formtemplates/:formTemplateIdOrName/versions/get.ts> (a function with typed inputs; its response is checked against the schema)

Get information about form template versions from enviance system.

** SDK API:**  envianceSdk.formtemplates.getFormTemplateVersions (formTemplateIdOrName, onsuccess, onerror)

```
GET /formtemplates/9ca22677-2670-41a9-bafd-3b2825592863/versions HTTP/1.1

```



envianceSdk.formtemplates.getFormTemplateVersions
```
[
  "aa9fd53d-e476-420d-9372-4fb5334aa488",
  "onsuccess",
  "onsuccess"
]
```

## Path parameters

- `formTemplateIdOrName` string, required

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Response `default`

not available

- EnvianceRestServicesVer2FormTemplatesFormTemplateVersionExtInfo
  - `id` string, guid
  - `name` string
  - `description` string
  - `templateVersions` EnvianceRestServicesVer2FormTemplatesFormTemplateVersionInfo[]
    - `id` string, guid
    - `templateID` string, guid
    - `version` integer
    - `comment` string
    - `created` string, date-time
    - `isCurrent` boolean
    - `refCount` integer

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
