Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 92
Response Example, Request Details, VLAN READ
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 92 highlights
curl -POST -d "id=2&name=test" 10.10.10.1:8080/open/v1/vlans browser: http://10.10.10.1:8080/open/v1/vlans?method=post&id=2&name= test Response Example Returns an appropriate status message. { "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } VLAN READ GET /open/v1/vlans Retrieves one or all available VLANs. Request Details Table 4-50. VLAN READ Request Details Parameter Type Description id integer VLAN ID. Always returned. fields Partial response syntax. fields id VLAN ID. name VLAN name. type VLAN type is 'static' or 'default'. The default VLAN type is identified as default. interface Interface retrieval can be bypassed. vlanMax Ancillary request parameter to determine the maximum number of allowed VLANs for the given platform. 92 Rest API Reference