GET – LicenseService properties
Use the GET method to retrieve properties in LicenseService resource for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/LicenseService
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | “LicenseService” | |||
Name | String | “License Service” | |||
Description | String | This resource is used to represent a License service for a Redfish implementation. | |||
ServiceEnabled | Boolean | Always true | |||
LicenseExpirationWarningDays | Integer | Always 0 | |||
Licenses | Link | Link to LicenseCollection |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Oem": {
"Lenovo": {
"@odata.type": "#LenovoLicenseService.v1_0_0.LenovoLicenseService",
"Tier": "Tier3"
}
},
"Licenses": {
"@odata.id": "/redfish/v1/LicenseService/Licenses"
},
"Name": "License Service",
"ServiceEnabled": true,
"@odata.id": "/redfish/v1/LicenseService",
"@odata.context": "/redfish/v1/$metadata#LicenseService.LicenseService",
"Id": "LicenseService",
"@odata.etag": "\"4189a77688e42668958\"",
"LicenseExpirationWarningDays": 0,
"Description": "This resource is used to represent a License service for a Redfish implementation.",
"@odata.type": "#LicenseService.v1_0_0.LicenseService"
}
Give documentation feedback