Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 136
Response Details, Request Example, Table 4, Service port UPDATE Internal Error Codes, Error Code
![]() |
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 136 highlights
Table 4-74. Service port UPDATE Request Details (Continued) Parameter Type Description ipv4gateway string IPV4 dot notation gateway address (both ipv4addr and ipv4netmask must be specified when present). ipv4protocolMode integer integer(optional) • 1 = Protocol mode none • 2 = Protocol mode BOOTP • 3 = Protocol mode DHCP NOTE: If none of the preceding parameters are specified, an error will be reported. 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-75. Service port UPDATE Internal Error Codes Error Code 0 -22 Code Name OPEN_E_NONE OPEN_E_PARAM -26 OPEN_E_FAIL -31 OPEN_E_UNAVAIL Description Request was successful. Error in parameters passed, or none of the optional parameters was specified. Update failed. Feature is not supported. Request Example curl -GET -XPUT -d "ipv4addr=10.14.240.45&ipv4netmask= 255.255.255.0&ipv4gateway=10.14.240.1" 10.10.10.1:8080/open/v1/serviceport browser http://10.10.10.1:8080/open/v1/serviceport?method= put&ipv4addr=10.14.240.45&ipv4netmask= 255.255.255.0&ipv4gateway=10.14.240.1 136 Rest API Reference
![](/manual_guide/products/dell-powerswitch-n3248teon-networking-nseries-switches-restful-api-user-guide-version-680-ef59a07/136.png)