Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 20
Response Details, Internal Error Codes, Request Example, Table 4, Login CREATE Response Details
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 20 highlights
Response Details Table 4-6. Login CREATE Response Details Parameter SID SIDSSL accessLevel Type String String Integer Description Unique session ID for HTTP requests. Unique session ID for HTTPS requests. 15 = Read/write. 1 = Read only. HTTP and HTTPS Response Codes The possible HTTP response codes are 200, 400, 401, 403, 404, and 501. Internal Error Codes The possible error codes for OpEN API are shown in the following table. Table 4-7. Login CREATE Internal Error Codes Error Code 0 -22 -23 -26 -28 -29 Code Name Description OPEN_E_NONE Login successful. OPEN_E_PARAM Error in parameters passed. OPEN_E_FULL Maximum number of login sessions exceeded. OPEN_E_FAIL Authentication failed. OPEN_E_UNAVAIL Feature not available. OPEN_E_NOT_FOUND Invalid user name or password. Request Example openssl s_client -showcerts -connect 10.10.10.1:443 > cacert.pem curl -cacert cacert.pem -d "username=admin&password=test1234" https://10.10.10.1:8080/open/v1/login curl -d "username=admin&password=test1234" http://10.10.10.1:8080/open/v1/login browser: http://10.10.10.1:8080/open/v1/login?username=admin&password= test1234 20 Rest API Reference