Open topic with navigation

# licenses/{licenseID}

## Description

Gets a LoadRunner Enterprise license (per the specified license ID).

## URL

    /Admin/rest/v1/licenses/{licenseID}

## Remarks

The license data can be passed as XML containing the equivalent data.

## HTTP Method

GET: Returns the license information.

## Request

Headers:

Content-Type: application/xml

Accept: application/xml

Cookies:

Version 2020 (or later) | LWSSO_COOKIE_KEY={LwssoCookie};
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};

Request Body:

GET: No request body.

An XML describing the license.

Request Example

    GET http://<LRE_Server>/Admin/rest/v1/licenses/1001
    Content-Type: application/xml
    Accept: application/xml
    Cookie: LWSSO_COOKIE_KEY={LwssoCookie};

## Response

Headers:

Content-Type: application/xml

Cookies:

None

HTML Return Code:

One of the HTTP Return Codes.

Upon successful deletion, returns HTTP status 200 (OK).

HTML Body:

GET: Returns the data on the entity in the response.

Response Example

Note: `<LicenseType>` was previously `<Type>` in LoadRunner Enterprise 12.6x and earlier versions.

    <Licenses>
       <License>
        <ID>1001</ID>
        <LicenseType>PC</LicenseType>
        <AssignedDate>2016-01-02 14:36:22</AssignedDate>
        <FactoryLicense>ADSE C9SA KJVT D5KM EFVW TSNJ PWD9 4Q6C QP88 9AGW ESY4 47AG 45BQ RA8A LQLL LHHM NMMK LSQX JV8E 9438 T84U R42A V886 FE23 7KEC JGAD EMVA 9GEB 2ZQ7 XB47 589U BBRB"Concurrent runs - Permanent Explicit feature"</FactoryLicense>
        <ConcurrentRuns>1</ConcurrentRuns>
        <ExpirationDate>2050-12-01 00:00:00</ExpirationDate>
        <ValidFromDate>2016-01-02 00:00:00</ValidFromDate>
        <Vusers>10</Vusers>
       </License>
    </Licenses>

## See Also

licenses (Get licenses)
Get Licenses by Query
license response
licenses (Get license summary)