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
Field | Type | Description | |||
---|---|---|---|---|---|
Description | String | A collection of Licenses resource instances. | |||
Name | String | “LicenseCollection” | |||
Members | Array | The members of this collection. | |||
Members[N] | Link | Reference Licenses schema for instance number. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
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"
}
]
}
Give documentation feedback