API Guide
Table Of Contents
- OpenManage Integration for VMware vCenter Version 5.3 API Guide
- Contents
- Overview
- Get started
- Security
- Use cases
- Session management
- License management
- Console management
- Repository profile management
- Cluster profile management
- Firmware repository inventory management
- Firmware inventory management
- Firmware update management
- System profile management
- Drift management
- Get subsystem health report (OMIVV Host Health)
- Host management
- Request body
- Response body
- OMIVV-Specific error codes
License management
Topics:
• Get list of vCenter and host license
•
Get vCenter and hosts license details
• Upload license to OMIVV
Get list of vCenter and host license
Description: Gets list of all licenses uploaded in OMIVV.
Command or URL: /Services/LicenseService/Licenses
Method: GET
Parameters: None
Authorization: Bearer authentication
vCenter privileges required: None
HTTP response code:
Table 4. HTTP response code
Code Description or response object
200 License Info
401 Authorization failure
404 Resource not found
429 Too many requests
500 Internal Server error
For OMIVV-Specific error codes, see OMIVV-Specific error codes on page 112.
Example Response:
[
{
"id": "{License ID}",
"href": "https://{OMIVVIP}/Spectre/api/rest/v1/Services/LicenseService/Licenses/
{LicenseID}",
"objectType": "LicenseInfo",
"entitlementID": "{Entitlement ID}",
"licenseType": "{License Type}",
"maxHosts": {number of maximum hosts allowed},
"startDate": "{License start date}",
"expirationDate": "{License expiry date}",
"duration": {Duration of license},
"licenseStatus": "{License status}"
},
]
NOTE: After a standard license is uploaded, the evaluation license status is displayed as "inactive".
For more information, see Response body on page 96.
6
License management 39