Skip to main content

GET – Collection of License

Use the GET method to retrieve the properties License collection resource for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/LicenseService/Licenses

Request body

None

Response body

FieldTypeDescription

Description

StringA collection of Licenses resource instances.

Name

String“LicenseCollection”

Members

ArrayThe members of this collection.
 

Members[N]

LinkReference Licenses schema for instance number.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.etag": "\"30631cb877892a27df1\"",
"Name": "LicenseCollection",
"@odata.type": "#LicenseCollection.LicenseCollection",
"@odata.id": "/redfish/v1/LicenseService/Licenses",
"Description": "A collection of Licenses resource instances.",
"@odata.context": "/redfish/v1/$metadata#LicenseCollection.LicenseCollection",
"Members@odata.count": 2,
"Members": [
{
"@odata.id": "/redfish/v1/LicenseService/Licenses/VROC_VMD"
},
{
"@odata.id": "/redfish/v1/LicenseService/Licenses/XCC_Advanced"
}
]
}