Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 55
Response Example, Error Example, MST READ
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 55 highlights
browser http://10.10.10.1:8080/open/v1/dot1smstientries?method= post&mstId=2 Response Example Returns an appropriate status message. { "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Example curl -POST -d "mstId=2" 10.10.10.1:8080/open/v1/dot1smstientries browser http://10.10.10.1:8080/open/v1/dot1smstientries?method= post&mstId=0 Response Example Returns an appropriate status message. { "status": { "response_code": 500, "msg": "Fail", "more_info": "Operation failed", "error_code": "-26" } } MST READ GET /open/v1/dot1smstientries Rest API Reference 55
Rest API Reference
55
browser
post&mstId=2
Response Example
Returns an appropriate status message.
{
"status":
{
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Error Example
curl -POST -d "mstId=2"
10.10.10.1:8080/open/v1/dot1smstientries
browser
post&mstId=0
Response Example
Returns an appropriate status message.
{
"status":
{
"response_code": 500,
"msg": "Fail",
"more_info": "Operation failed",
"error_code": "-26"
}
}
MST READ
GET /open/v1/dot1smstientries