List Licenses V2 Using GET

List Licenses V2 Using GET

This API is used to list all the licenses available in the store.

Request
URI
GET
https://{api_host}/lcm/locker/api/v2/licenses
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of LicenseResponseDTO of type(s) application/json
[
    {
        "End DateH": "string",
        "Start Date": "string",
        "account": "Admin",
        "alias": "license1",
        "casId": "string",
        "connected": false,
        "description": "VMware vRealize Suite 2019 Enterprise",
        "edition": "string",
        "endDate": 0,
        "expired": false,
        "expiresIn": "3 months and 28 days",
        "expiresOn": "Mon Jan 11 2021 00:00:00",
        "falconId": "string",
        "healthy": false,
        "key": "YK0AN-JO280-48RJ1-001124-1TV",
        "lastRefreshed": 0,
        "lintId": "string",
        "onPremAllocation": "string",
        "orgName": "string",
        "presentInMyVmware": false,
        "quantity": 32,
        "refreshStatus": "string",
        "status": "ACTIVE",
        "transactionId": "string",
        "type": "vRealizeSuite",
        "unit": "string",
        "validations": [
            {
                "message": "string",
                "strict": false
            }
        ],
        "vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
    }
]

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


500

Internal Server Error

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations