API sendscript (Javascript)

Solved

Hi all,

is there someone who can tell me if or how it's possible to sende javascript via the "sendscript" api call?

Legacy script is working fine but i have a javascript which would be nice to do via api and scfript instead of the console.

Ok, found it now myself, there's an parameter available named "ScriptType" which does the trick.

@Soti, may i request fully API documentation regarding possible parameters for example the "​/devices​/{deviceId}​/actions" Part (and maybe others too)?

It's really bad doing trial and error.

3 years ago
SOTI MobiControl
ANSWERS