---
title: "Create License Template"
method: POST
path: "/licensetemplate"
tags: ["License Template"]
---

# Create License Template

`POST /licensetemplate`

## Request

- Base URL: `https://go.netlicensing.io/core/v2/rest`
- URL: `https://go.netlicensing.io/core/v2/rest/licensetemplate`
- Auth: HTTP basic

Creates a new License Template

## Request body `application/x-www-form-urlencoded`

- object
  - `productModuleNumber` string, required: Number of Product Module to create License Template object
  - `number` string: Unique number (across all Products of a Vendor) that identifies the License Template. Vendor can assign this number when creating a License Template or let NetLicensing generate one. Read-only after creation of the first License from this License Template.
  - `name` string, required: License Template name to create License Template object
  - `active` boolean, required: If set to 'false', the License Template is disabled. Licensee can not obtain any new Licenses off this License Template.
  - `licenseType` string, required: Type of Licenses created from this License Template. Supported types: FEATURE, TIMEVOLUME, FLOATING, QUANTITY
  - `timeVolume` string: Mandatory for 'TIMEVOLUME' License Type.
  - `timeVolumePeriod` string: For 'TIMEVOLUME' License Type.
  - `maxSessions` string: Mandatory for 'FLOATING' License Type.
  - `price` number, double: Price for the License. If >0, it must always be accompanied by the currency specification.
  - `currency` string: Specifies currency for the License price. Check data types to discover which currencies are supported.
  - `automatic` boolean: If set to 'true', every new Licensee automatically gets one License out of this License Template on creation. Automatic Licenses must have their price set to 0.
  - `hidden` boolean: If set to 'true', this License Template is not shown in NetLicensing Shop as offered for purchase.
  - `hideLicenses` boolean: If set to 'true', Licenses from this License Template are not visible to the end customer, but participate in validation.
  - `quantity` string: Mandatory for 'Pay-per-Use' and 'Node-Locked' License Model.
  - `quota` string: Mandatory for 'Quota' License Model.

## Response `200`

Successful request

- Netlicensing
  - `infos` Infos
  - `items` Items

## Other responses

- `400`: Malformed or illegal request
- `403`: Access is denied
- `404`: Resource not found
- `500`: Internal service error

---

[API](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center.md) - [All operations](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center/llms.txt) - [OpenAPI document](https://skmtc.dev/labs64/apis/labs64-netlicensing-restful-api-test-center/revisions/32bb94715eca?raw)
