Share this page

# Get license by ID

## Description

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

## URL

Copy code

    /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:

Versions 2023 and later | ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};
Versions 2022 - 2022 R2 | ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE}; ASP.NET_SessionId_Adm={ASP.NET_SessionId_Adm_COOKIE_VALUE}; LWSSO_COOKIE_KEY={LWSSO_COOKIE_KEY_COOKIE_VALUE};
Versions 2021 - 2021 R2 | ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE}; ASP.NET_SessionId_Adm={ASP.NET_SessionId_Adm_COOKIE_VALUE};
Versions 2020 - 2020 SP3 | ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};
Versions earlier than 2020 | LWSSO_COOKIE_KEY={LWSSO_COOKIE_KEY_COOKIE_VALUE}; QCSession={QC_SESSION_COOKIE_VALUE};

Request Body:

GET: No request body.

An XML describing the license.

Request Example
Copy code

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

## 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.

Copy code

    <Licenses>
       <License>
        <ID>1001</ID>
        <LicenseType>PC</LicenseType>
        <AssignedDate>2016-01-02 14:36:22</AssignedDate>
        <FactoryLicense>ADSE C9SA KJVT ESY4 47AG 45BQ 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

Get licenses
Get Licenses by Query
License response
Get license summary

Tips to improve your search results... LoadRunner Enterprise Administration REST API Reference LRE Admin REST API All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic(Undefined variable: _rscC_Basic_Variables.VersionLabel)