Change device name via REST API?

Change device name via REST API?

Hi,

Type: Android Enterprise
Device: Zebra TC25

How can I change the name of the devices that was already enrolled? By default, it is %autonum%, right now I want to map a person's name binded by device serial number.

3 Answers

Order By:   Standard | Newest | Votes
Raymond Chan | posted this 26 November 2018

How many devices do you have to rename?

Do you have AD/LDAP integrated on your server?

What are the version and build numbers of your MobiControl server?

Are you very familiar with MobiControl REST API's and have successfully used them in administrative tasks before?

 

 

  • 0
  • 0
Benedict Lumabi | posted this 26 November 2018

Hi Raymond, thanks for the reply.

To answer your questions:

How many devices do you have to rename? - 2800 devices

Do you have AD/LDAP integrated on your server? - Nope

What are the version and build numbers of your MobiControl server? - 14.2.0.2894

Are you very familiar with MobiControl REST API's and have successfully used them in administrative tasks before? - yes. I'm familiar with SOTI REST API.


What I have tried so far are the following:

1. API to "Send action to devices within a group" > send script > "devrename xxx" = doesnt work

2. Go directly to WebConsole > Send script > devrename xxx = doesnt work

  • 0
  • 0
Raymond Chan | posted this 26 November 2018

There seems to be something new in v14.2.0.2894 that makes devrename not working any more.   Apparently, according to my tests a moment ago, some other script commands that used to work in earlier versions don't seem to work any more in this build.  It can be due to changes in the server or the agent or both.   I need to further investigate this when I have time.

 

If you want official support and more prompt response, please open a support ticket directly with Soti support team.

 

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback