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

# Create License

`POST /license`

## Request

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

Creates a new License

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

- object
  - `licenseeNumber` string, required
  - `licenseTemplateNumber` string, required
  - `active` boolean, required
  - `number` string
  - `name` string: Name for the Licensed item. Set from License Template on creation, if not specified explicitly.
  - `parentfeature` string: Mandatory for 'TIMEVOLUME' License Type and 'RENTAL' licensing model
  - `timeVolume` string: Mandatory for 'TIMEVOLUME' License Type.
  - `timeVolumePeriod` string: For 'TIMEVOLUME' License Type.
  - `startDate` string, date-time: Mandatory for 'TIMEVOLUME' License Type.
  - `price` number, double: Price for the License. If >0, it must always be accompanied by the currency specification. Read-only, set from License Template on creation
  - `currency` string: Specifies currency for the License price. Check data types to discover which currencies are supported. Read-only, set from License Template on creation
  - `hidden` boolean: If set to 'true', this License is not shown in NetLicensing Shop as purchased License. Set from License Template on creation, if not specified explicitly
  - `quantity` string: Mandatory for 'Pay-per-Use' License Model.
  - `usedQuantity` string: Mandatory for 'Pay-per-Use' 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)
