Validate And Add License V2 Using POST
This API is used to validate and add license to locker store.
Request
URI
POST
https://{api_host}/lcm/locker/api/v2/license/validate-and-add
COPY
Request Body
licenseValidateRequestDTO
LicenseValidateRequestDTO
of type(s)
application/json
Required
{
"alias": "license1",
"serialKey": "<license key>",
"transactionId": "string",
"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
string
alias
Optional
License Alias
string
serialKey
Optional
Serial Key
string
transactionId
Optional
transactionId
string
vmid
Optional
vmid
Responses
200
OK
[
"LicenseValidateResponseDTO Object"
]
201
Created
Operation doesn't return any data structure
400
Bad Request
Returns
GenericErrorResponseDTO
of type(s)
*/*
"GenericErrorResponseDTO Object"
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of
string
recommendations
Optional
recommendations
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
409
Conflict
Returns
GenericErrorResponseDTO
of type(s)
*/*
"GenericErrorResponseDTO Object"
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)
*/*
"GenericErrorResponseDTO Object"
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of
string
recommendations
Optional
recommendations
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/lcm/locker/api/v2/license/validate-and-add
On This Page
Locker License Controller Operations
POST
Validate And Add License V2 Using POST
GET
List Licenses V2 Using GET
GET
Get Licenses By Alias V2 Using GET
GET
Get License Detail V2 Using GET
GET
Refresh Licenses V2 Using GET