Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 43
Response Details, Update STP Config Request Example, Response Example, Table 4
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 43 highlights
Response Details HTTP Response Codes The possible HTTP Response codes are 200, 400, and 500. Internal Error Codes The possible error codes for OpEN API are shown in the following table. Table 4-23. STP Config UPDATE Internal Error Codes Error Code 0 -21 -22 -26 Code Name OPEN_E_NONE OPEN_E_INTERNAL OPEN_E_PARAM OPEN_E_FAIL Description Success. Internal error. Invalid parameter. Operation Fail. Update STP Config Request Example curl -GET -XPUT -d "mode=enabled&forceVersion=802.1s" 10.10.10.1:8080/open/v1/dot1sconfig browser http://10.10.10.1:8080/open/v1/dot1sconfig?method=put&mode= enabled&forceVersion=802.1s Response Example { "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Update STP Config Error Request Example curl -GET -XPUT -d "forceVersion=none" 10.10.10.1:8080/open/v1/dot1sconfig Rest API Reference 43