It's exactly what I did, everything you mentioned work perfectly excepting the last endpoint.
When I call that endpoint : /redfish/v1/Systems/Members('10413')/Actions/ComputerSystem.Reset
with "{"ResetType":"On"}" in the body
The response is :
{
"error": {
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"MessageId": "CGEN1006",
"RelatedProperties": [],
"Message": "Unable to complete the request because the resource URI does not exist or is not implemented.",
"MessageArgs": [],
"Severity": "Critical",
"Resolution": "Enter a valid URI and retry the operation."
}
]
}
}
alchambron
5 Posts
0
May 15th, 2023 06:00
Hello,
We found a solution, the mistake was really stupid.
We call the api with "/redfish/v1/Systems/Members('10413')/Actions/ComputerSystem.Reset", with that the answer is an error 501.
It's missing the "https://", so it understanding that as http, so it's failing.
Now everything work, thanks a lot !
DELL-Charles R
Moderator
•
4.7K Posts
0
May 11th, 2023 13:00
Hello alchambron,
Tested this in the lab and it work. Hopefully this works for you.
used this endpoint
/redfish/v1/Systems/Members('10095')/Actions/ComputerSystem.Reset
where the '10095' is the DeviceID from the device from /api/DeviceService/Devices
and the Body I used in my POST call was
{"ResetType":"On"}
alchambron
5 Posts
0
May 12th, 2023 01:00
Hello,
Thanks for answering me.
It's exactly what I did, everything you mentioned work perfectly excepting the last endpoint.
When I call that endpoint : /redfish/v1/Systems/Members('10413')/Actions/ComputerSystem.Reset
with "{"ResetType":"On"}" in the body
The response is :
Hope that someone will have an idea about that.
Thanks a lot
DELL-Charles R
Moderator
•
4.7K Posts
0
May 12th, 2023 06:00
Hello alchambron,
I looked over the page again. Try
PowerOn
Dell EMC OpenManage Enterprise 3.9 RESTful API Guide
Page 640
https://dell.to/3nTgWgC
Reset types
The allowed values are:
● PowerOn
● PowerOffNonGraceful
● PowerOffGraceful
● PowerCycle
What are the devices you are using this against?