There is no request body for this API.
{ "licenses":[ { "install_id":1234567, "serial_no":10, "license_metric":"Controller Node", "product":"HP VAN SDN Ctrl Base", "metric_qty":50, "license_type":"DEMO", "base_license":true, "creation_date":"2013-06-25T23:51:09.826Z", "activated_date":"2013-06-22T23:51:09.826Z", "expiry_date":"2023-06-25T23:51:09.826Z", "license_status":"INACTIVE", "deactivated_key":"SAMPLE_LICENSE_KEY
" }, { "install_id":1234567, "serial_no":10, "license_metric":"Controller Node", "product":"HP VAN SDN Ctrl Base", "metric_qty":50, "license_type":"DEMO", "base_license":true, "creation_date":"2013-06-25T23:51:09.826Z", "activated_date":"2013-06-22T23:51:09.826Z", "expiry_date":"2023-06-25T23:51:09.826Z", "license_status":"INACTIVE", "deactivated_key":"SAMPLE_LICENSE_KEY
" } ] }
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Service Unavailable (503)
Get the description for a specific license by key.
There is no request body for this API.
{
"license":{
"install_id":1234567,
"serial_no":10,
"license_metric":"Controller Node",
"product":"HP VAN SDN Ctrl Base",
"metric_qty":50,
"license_type":"DEMO",
"base_license":true,
"creation_date":"2013-06-25T23:51:09.826Z",
"activated_date":"2013-06-22T23:51:09.826Z",
"expiry_date":"2023-06-25T23:51:09.826Z",
"license_status":"INACTIVE",
"deactivated_key":"SAMPLE_LICENSE_KEY
"
}
}
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Bad Method (405), Service Unavailable (503)
Add a license to the controller for use with the controller or application(s).
Request data is a string i.e. an actual license key something like "CYIBMJJIHJQA6-IRTEQ2QUNBYCA-CSSDJIEIJFKIQ-VAI2QUJBYC42A"
{
"license":{
"install_id":1234567,
"serial_no":10,
"license_metric":"Controller Node",
"product":"HP VAN SDN Ctrl Base",
"metric_qty":50,
"license_type":"DEMO",
"base_license":true,
"creation_date":"2013-06-25T23:51:09.826Z",
"activated_date":"2013-06-22T23:51:09.826Z",
"expiry_date":"2023-06-25T23:51:09.826Z",
"license_status":"INACTIVE",
"deactivated_key":"SAMPLE_LICENSE_KEY
"
}
}
Normal: OK (200)
Error: Bad Request (400), Unauthorized (401), Not Found (404), Bad Method (405), Service Unavailable (503)
Get a licence and its information by the associated serial number.
Get a license by given serial number:
There is no request body for this API.
{
"license":{
"install_id":1234567,
"serial_no":10,
"license_metric":"Controller Node",
"product":"HP VAN SDN Ctrl Base",
"metric_qty":50,
"license_type":"DEMO",
"base_license":true,
"creation_date":"2013-06-25T23:51:09.826Z",
"activated_date":"2013-06-22T23:51:09.826Z",
"expiry_date":"2023-06-25T23:51:09.826Z",
"license_status":"INACTIVE",
"deactivated_key":"SAMPLE_LICENSE_KEY
"
}
}
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Bad Method (405), Service Unavailable (503)
Set a license to deactivated status, disabling the license to be used.
Deactivate a license by given serial number:
{
"license":{
"install_id":1234567,
"serial_no":10,
"license_metric":"Controller Node",
"product":"HP VAN SDN Ctrl Base",
"metric_qty":50,
"license_type":"DEMO",
"base_license":true,
"creation_date":"2013-06-25T23:51:09.826Z",
"activated_date":"2013-06-22T23:51:09.826Z",
"expiry_date":"2023-06-25T23:51:09.826Z",
"license_status":"INACTIVE",
"deactivated_key":"SAMPLE_LICENSE_KEY
"
}
}
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Bad Method (405), Service Unavailable (503)
Check if a product is licensed or not:
There is no request body for this API.
Either true or false will be returned.
Normal: OK (200)
Error: Unauthorized (401), Not Found (404), Bad Method (405), Service Unavailable (503)