Send a POST request to /v3/thinclients?command=[command] to send a command to one or more thin clients. A command can be one of the following:

  • reboot
  • shutdown
  • wakeup
  • settings2tc
  • tcreset2facdefs

The request body contains a list of API Objects representing the thin clients addressed.

To send the reboot command to two thin clients, send the following request to IMI:

curl \

--request POST \

JSESSIONID=3FB2F3F6A089FE9029DFD6DAFEF146DC' \

--header "Content-type: application/json" \

--data '[{"id":"27", "type":"tc"},{"id":"72014", "type":"tc"}]' \

https://[server]:8443/umsapi/v3/thinclients?command=reboot

Request

IMI replies with a JSON document containing a result for each thin client addressed:

{

"CommandExecList": [

{

"execID": "ID-PM-MH-WIN7-UMS-54530-1456839861871-5-0",

"id": "72014",

"mac": "00E0C561EEED",

"exectime": "1456845240566",

"message": "OK",

"state": "SUCCESS"

},

{

"execID": "ID-PM-MH-WIN7-UMS-54530-1456839861871-5-0",

"id": "27",

"mac": "00E0C54DCB8E",

"exectime": "1456845240560",

"message": "OK",

"state": "SUCCESS"

}

]

}