Add License Key

Add License Key

Add a License Key

Request
URI
POST
https://sfo-vcf01.rainpole.io/v1/license-keys
COPY
Request Body

License key with other attributes

LicenseKey of type(s) application/json
Required
{
    "description": "string",
    "id": "string",
    "isUnlimited": false,
    "key": "XX0XX-XX0XX-XX0XX-XX0XX-XX0XX ",
    "licenseKeyUsage": {
        "licenseUnit": "One among: CPUPACKAGE, INSTANCE, VMS, CCU, PLU, DESKTOPVM, SERVERVM, VM, SERVER, CORES, CONCURRENTUSER, NAMEDUSER, CPUCORE",
        "remaining": 0,
        "total": 0,
        "used": 0
    },
    "licenseKeyValidity": {
        "expiryDate": "string",
        "licenseKeyStatus": "One among: EXPIRED, ACTIVE, NEVER_EXPIRES"
    },
    "productType": "One among: VCENTER, VSAN, SDDC_MANAGER, ESXI, NSXT, NSXIO, WCP, HORIZON_VIEW",
    "productVersion": "string"
}
string
description
Required

Description of the license key given by user

string
id
Optional

The ID of the license key

boolean
isUnlimited
Optional

Indicates if the license key has unlimited usage

string
key
Required

The 29 alpha numeric character license key with hyphens

licenseKeyUsage
Optional

Defines license key usage

licenseKeyValidity
Optional

Defines license key validity details

string
productType
Required

The type of the product to which the license key is applicable

string
productVersion
Optional

Product version

Responses
200

OK

Returns LicenseKey of type(s) */*
{
    "description": "string",
    "id": "string",
    "isUnlimited": false,
    "key": "XX0XX-XX0XX-XX0XX-XX0XX-XX0XX ",
    "licenseKeyUsage": {
        "licenseUnit": "One among: CPUPACKAGE, INSTANCE, VMS, CCU, PLU, DESKTOPVM, SERVERVM, VM, SERVER, CORES, CONCURRENTUSER, NAMEDUSER, CPUCORE",
        "remaining": 0,
        "total": 0,
        "used": 0
    },
    "licenseKeyValidity": {
        "expiryDate": "string",
        "licenseKeyStatus": "One among: EXPIRED, ACTIVE, NEVER_EXPIRES"
    },
    "productType": "One among: VCENTER, VSAN, SDDC_MANAGER, ESXI, NSXT, NSXIO, WCP, HORIZON_VIEW",
    "productVersion": "string"
}
string
description
Required

Description of the license key given by user

string
id
Optional

The ID of the license key

boolean
isUnlimited
Optional

Indicates if the license key has unlimited usage

string
key
Required

The 29 alpha numeric character license key with hyphens

licenseKeyUsage
Optional

Defines license key usage

licenseKeyValidity
Optional

Defines license key validity details

string
productType
Required

The type of the product to which the license key is applicable

string
productVersion
Optional

Product version


201

Created

Returns LicenseKey of type(s) */*
{
    "description": "string",
    "id": "string",
    "isUnlimited": false,
    "key": "XX0XX-XX0XX-XX0XX-XX0XX-XX0XX ",
    "licenseKeyUsage": {
        "licenseUnit": "One among: CPUPACKAGE, INSTANCE, VMS, CCU, PLU, DESKTOPVM, SERVERVM, VM, SERVER, CORES, CONCURRENTUSER, NAMEDUSER, CPUCORE",
        "remaining": 0,
        "total": 0,
        "used": 0
    },
    "licenseKeyValidity": {
        "expiryDate": "string",
        "licenseKeyStatus": "One among: EXPIRED, ACTIVE, NEVER_EXPIRES"
    },
    "productType": "One among: VCENTER, VSAN, SDDC_MANAGER, ESXI, NSXT, NSXIO, WCP, HORIZON_VIEW",
    "productVersion": "string"
}
string
description
Required

Description of the license key given by user

string
id
Optional

The ID of the license key

boolean
isUnlimited
Optional

Indicates if the license key has unlimited usage

string
key
Required

The 29 alpha numeric character license key with hyphens

licenseKeyUsage
Optional

Defines license key usage

licenseKeyValidity
Optional

Defines license key validity details

string
productType
Required

The type of the product to which the license key is applicable

string
productVersion
Optional

Product version


500

Internal server error

Returns Error of type(s) */*
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message