Contact Us

CATEGORIES

Whoops…Nothing found

Try other keywords in your search

API: Shutdown Reboot Manager and Client

 0 Minutes

 0 Likes

 1512 Views

The API also allows to shutdown the local manager or even a client.


Shutdown Manager

There are three different modes you can choose from:

Mode 1 - Shut down
Mode 2 - Shut down and turn off power (if supported)
Mode 3 - Shut down and reboot
Mode 0 - shutdownSystem(int mode)

send
{"jsonrpc":"2.0", "id":48, "method":"Pixera.Session.shutdownSystem", "params":{"mode":1}}
receive
{"jsonrpc":"2.0", "id":48}


 Shutdown Manager and Client

 Shut down the live system with the given IP. The mode options are the same as for shutdownSystem():


Mode 0 - shutdownLiveSystem(string ip,int mode)
Mode 1 - Shut down
Mode 2 - Shut down and turn off power (if supported)
Mode 3 - Shut down and reboot


send
{"jsonrpc":"2.0", "id":49, "method":"Pixera.Session.shutdownLiveSystem", "params":{"ip":"Abcd", "mode":1}}
receive
{"jsonrpc":"2.0", "id":49}


Was this article helpful?