If successful, the following is an example of the return body:
"response": {
"code": "10",
"result": "success",
"message": ""
}
Version Selection Device Control Command
Table 224: Command Details
DescriptionCommand Detail
https://192.168.0.1/ws/v2/device_ctl/ver
https://192.168.0.1/ws/v2/device_ctl/ver/<Level_1_URI_Parameter>
Command URL
Allows getting all runnable software version information, selecting a
software version or deleting a software version.
Command Information
GET, POSTHTTP Methods
Read, WriteAccess Type
User, AdminAccess Level
All version Info
GET "https://192.168.0.1/ws/v2/device_ctl/ver"
GET Syntax
Select a version:
POST "https://192.168.0.1/ws/v2/ver/verselect? idx=[s/w version
idx#]&reboot=Yes"
Delete a version:
POST "https://192.168.0.1/ws/v2/ver/verselect? idx=[s/w version
idx#]&erase=Yes"
POST Syntax
Only HTTP data body is
supported. POST from
XML/JSON file is not supported.
Table 225: Level_1 URI Parameters (extension to the Command URL separated by /)
DescriptionURI Parameter
Version to be selected
URI Query/Set Arguments below are only valid when
this level URI parameter is used
verselect
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
269
API Definitions
Version Selection Device Control Command