"@odata.context":"/redfish/v1/$metadata#AccountService/Accounts"
}
curl -k -u admin:Password https://10.10.10.10/redfish/v1/AccountService/Accounts/1
{
"@odata.id":"/redfish/v1/AccountService/Accounts/1",
"Links":{
"Role":{
"@odata.id":"/redfish/v1/AccountService/Roles/admin"
}
},
"Name":"User Account",
"@odata.context":"/redfish/v1/$metadata#AccountService/Accounts/Members/$entity",
"@odata.type":"#ManagerAccount.v1_1_3.ManagerAccount",
"RoleId":"admin",
"Description":"User Account",
"Id":"1",
"Enabled":true,
"Locked":false,
"UserName":"admin"
}
Retrieving Chassis Details
Response:
{
"SerialNumber":"WZP220607R1",
"Id":"1",
"WeightKg":26.1,
"IndicatorLED":"Off",
"PowerState":"On",
"@odata.context":"/redfish/v1/$metadata#Chassis/Members/$entity",
"ChassisType":"Rack",
"DepthMm":766,
"Description":"It represents the properties for physical components for any system.
This one object is intended to represent racks, rackmount servers, blades, standalone,
modular systems,
enclosures, and all other containers.
The non-cpu/device centric parts of the schema are
all accessed
either directly or indirectly through this resource",
"Thermal":{
"@odata.id":"/redfish/v1/Chassis/1/Thermal"
},
"Links":{
"Drives":[{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Storage/MRAID/Drives/PD-3"
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Storage/MRAID/Drives/PD-4"
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Storage/MRAID/Drives/PD-25"
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Storage/MRAID/Drives/PD-26"
},{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/Storage/Flexutil/Drives/microSD"
}],
"CooledBy":[{
"@odata.id":"/redfish/v1/Chassis/1/Thermal"
}],
"ComputerSystems":[{
"@odata.id":"/redfish/v1/Systems/WZP220607R1"
}],
"PCIeDevices":[{
"@odata.id":"/redfish/v1/Systems/WZP220607R1/PCIeDevices/1"
Cisco UCS C-Series Servers REST API Programmer's Guide
89
Cisco IMC REST API Examples
Examples of Server Tasks for 4.0(4)