Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 13 answers

    API Curl to Powershell Device group movement Solved

    I made a few changes, but now getting a (401) Unauthorized error, not sure what else I'm missing.The Curl API command for moving device groups:curl -X PUT --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Bearer Very long token" -d "\"\\\\RootFolder\\New folder\"" "https://SOTIServer.com:443/MobiControl/api/devicegroups/%255C%255CRootfolder%255COld%2520folder%255CSourceFolder/path" The Powershell call that I have so far, that doesn't work: $folderX="SourceFolder" function MoveDir ([string]$Name, [string]$Token){ $Path = "%255C%255CRootfolder%255COld%2520folder%255C" + $folderX$body = @{}$body = "`"\\RootFolder\New Folder`""$body = $body | ConvertTo-Json $Header2 = @{}$Header2["Authorization"] = "Bearer " + $Token try{$response2 = Invoke-restmethod -Uri https://$MCFQDN/mobicontrol/api/devicegroups/$Path/path -ContentType "application/json" -Method PUT -Body $body -Headers $Header2 }catch{$($_.Exception.Message)}}

    SOTI MobiControl
    7 years ago
  • 0 votes 4 answers

    Change device name with REST API

    Is there a way to change the device name with the REST API? I am using the API already to move devices to different folders and change the user of a device. But I couldn't find out if it is possible to change the name nor other attributes except of custom attributes. Thanks for you help! Cheers,Andy

    SOTI MobiControl
    7 years ago
  • 1 votes 4 answers

    Using powershell to make API calls Solved

    Looking to create device groups (a few hundred) from a list in a text file. I'm most familiar with powershell, but I've not worked with API's or security tokens before. Does anyone have a template or sample scripts that they would be willing to share?

    SOTI MobiControl
    7 years ago
  • 0 votes 1 answer

    WebConsole analog of "POST /devicegroups/{path}/members" method Solved

    SOTI mobicontrol API allows to move devices between groups using device identifiers. However, in WebConsole, the only way I've found so far is through Device Relocation Rule, which requires you to set custom attributes. Is there analog of "POST /devicegroups/{path}/members" API method in WebConsole?

    SOTI MobiControl
    7 years ago
  • 1 votes 3 answers

    Remote Control URL (html5)

    Hi, we are working with the API of mobicontrol/soti and that works great.There is only 1 think i can't find: we want to Remote Control an Android device by clicking on 1 button from our own application. Does anybody know if this is possible?  Example (i hope): https://sXXXXXXX.mobicontrolcloud.com/MobiControl/DeviceManagement/GetRemoteControlSharedDataHtml5?DeviceId=123456789abc Thanks for your reply

    Android
    7 years ago
  • 0 votes 2 answers

    Create multiple groups through API Solved

    Hello, I am trying to create groups on Mobicontrol through API and I did create a json file for multiple groups. It is working when I post to MobiControl/api/devicegroups/ and body contains {   "Name": "group A",   "Path": "\\\\Root\\Groups\\Group A",   "Icon": "Green",   "Kind": "Regular" } but it is not working when I post to MobiControl/api/devicegroups/ and body contains [{   "Name": "group A",   "Path": "\\\\Root\\Groups\\Group A",   "Icon": "Green",   "Kind": "Regular" }, {   "Name": "group B",   "Path": "\\\\Root\\Groups\\Group B",   "Icon": "Green",   "Kind": "Regular" }] I am getting back the following error message. {    "$type": "ErrorDetails",    "ErrorCode": 0,    "Message": "Contract validation failed",    "Data": [        "deviceGroup: Error parsing value"    ],    "HelpLink": null}  Is there any way to create multiple groups at once through the API? I am just wonder if the body has to be different when trying to create more than 1 group at once. Thank you.

    SOTI MobiControl
    7 years ago
  • 0 votes 1 answer

    Hostname via API

    Hi All Android devices have hostnames like android-552ce9e60fd098c7. I can confirm this with adb shell: netprop net.hostname I used the api query GET /devices/{deviceId}. But the attribute "HostName" is the ip address instead of the hostname. Is there a way to read the correct hostname through the api? Thank you and best regards Markus

    Android
    7 years ago
  • 1 votes 12 answers

    problem with remote control install RC+ API Solved Locked

    Hi, you have no idea how to install/restart APIs  the remote control? The same location and installation. 

    Android
    8 years ago
  • 0 votes 2 answers

    I want to use APIs on my mobicontrolcloud.com server, but it says I need a client ID and Secret?

    Where can I get these?

    SOTI MobiControl
    8 years ago
  • 0 votes 1 answer

    API's - what are they used for? Solved

    SOTI MobiControl has an API. What kind of things can I use it for?

    SOTI MobiControl
    8 years ago

Top 3 Contributors of The Week

View All

No top contributors this period.

Earn Contributor Badge

More info
  • Diamond
    Diamond New

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum
    Platinum

    Experts who are consistent with great content. Should have more than 1000 points.

  • Gold
    Gold

    Highly experienced members with valuable inputs. Should have more than 700 points.

  • Silver
    Silver

    Beginners taking the initiative. Should have more than 500 points.

  • Bronze
    Bronze New

    New contributors starting their journey. Should have more than 250 points.