Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 97
Ancillary Request Example, Response Example, status, response_code: 200, msg: OK, error_code: 0
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 97 highlights
"status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Ancillary Request Example The following is an example using an ancillary request parameter to determine the maximum number of allowed VLANs for the given platform. curl -GET -d "fields=vlanMax" 10.10.10.1:8080/open/v1/vlans browser: http://10.10.10.1:8080/open/v1/vlans?fields=vlanMax Response Example { "vlanMax": 4093, "vlans": [ { "id": 1 } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } { "id": 15, "type": "static", "name": "vlan15" } Rest API Reference 97
Rest API Reference
97
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Ancillary Request Example
The following is an example using an ancillary request parameter to
determine the maximum number of allowed VLANs for the given platform.
curl -GET -d "fields=vlanMax" 10.10.10.1:8080/open/v1/vlans
browser:
Response Example
{
"vlanMax": 4093,
"vlans": [
{
"id": 1
}
],
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
{
"id": 15,
"type": "static",
"name": "vlan15"
}