Skip to main content

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

FieldTypeDescription

Id

String“LicenseService”

Name

String“License Service”

Description

StringThis resource is used to represent a License service for a Redfish implementation.

ServiceEnabled

BooleanAlways true

LicenseExpirationWarningDays

IntegerAlways 0

Licenses

LinkLink to LicenseCollection

Status code

HTTP Status CodeError Message ID
500InternalError

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"
}