Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 214
browser, Returns an appropriate status message., response_code: 400
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 214 highlights
Request Example curl -GET 10.10.10.1:8080/open/v1/systemmisc browser: http://10.10.10.1:8080/open/v1/systemmisc Response Example { "hostname" : "name", "hostnameSize" : 64, "systemPromptMaxSize" : 32, "systemUpTime" : 34563, "systemUptimeMsec" : 430, "systemBurnedInMacAddr" : "0a:34:12:6d:fe:12" "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Example curl -GET -d "tenant=-99" 10.10.10.1:8080/open/v1/systemmisc browser: http://10.10.10.1:8080/open/v1/systemmisc?method=get&tenant=99 Response Example Returns an appropriate status message. { "status": { "response_code": 400, "msg": "Bad Request", "more_info": "Invalid parameter", 214 Rest API Reference
214
Rest API Reference
Request Example
curl -GET 10.10.10.1:8080/open/v1/systemmisc
browser:
Response Example
{
"hostname" : "name",
"hostnameSize" : 64,
"systemPromptMaxSize" : 32,
"systemUpTime" : 34563,
"systemUptimeMsec" : 430,
"systemBurnedInMacAddr" : "0a:34:12:6d:fe:12"
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Error Example
curl -GET -d "tenant=-99" 10.10.10.1:8080/open/v1/systemmisc
browser:
99
Response Example
Returns an appropriate status message.
{
"status": {
"response_code": 400,
"msg": "Bad Request",
"more_info": "Invalid parameter",