API Endpoint: Push

The push endpoint allows you to push actions to devices or groups of devices as listed below:


GET

/api/push/1/pushtype - send push request to device ID 1 with push type from list below

/api/pushgroup/1/pushtype - send push request to all devices in devicegroup ID 1 with push type from list below:


Valid Push Types

= Request Status from Device (heartbeat to server, battery, screen state etc...)

= Update device info (information such as software version, Android version etc...)

3 = Restart Application

4 = Take App Screenshot/device screenshot if Knox activated device (returned JSON includes Data & ImageURL value if available)**

5 = Reload Home Page 6 = Open WiFi Settings

7 = Identify device (show message box)

8 = Force Download Profile

9 = Download Profile (will only update if change has been detected)

10 = Screen Off 11 = Screen On

12 = Open Kiosk Browser Settings

13 = Open TeamViewer QuickSupport or TeamViewer Host (if installed)

14 = Exit Kiosk Browser

15 = Clear WebView Cache and reload Kiosk Url

16 = Clear WebView Cookies and reload Kiosk Url

17 = Clear WebView Forms and reload Kiosk Url

18 = Clear WebView Cache, Cookies & Forms and reload Kiosk Url

19 = Upload device events data (for reporting), by default this occurs every 24 hours

20 = Upload device session data (for reporting), by default this occurs every 24 hours

21 = Clear WebView HTML5 WebStorage

23 = Regain focus, brings Kiosk Browser to the front of the stack

24 = Execute JavaScript kbRemoteFunction() on device (v2.6.2 or higher)

201 = Reboot device, Samsung Knox activated devices only


**App Screenshot - Upload can take 10 seconds and API call result does not await upload, it merely provides you with the URL the image will be available from. Note this is for a single device only, not supported via the pushgroup endpoint.

Is this article helpful for you?