cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
556
Views
0
Helpful
1
Replies

Devices and Workspace relationship

Rudrakshi
Cisco Employee
Cisco Employee
Query from Alan Gardner@ctclc.com in #webex4devs space:

HI Everyone, Trying to Create a Python Script that will allow me to rename all of my workspace and the devices within the workspace. Also rename devices that are assigned to a user like a Webex DeskPro. I can make a Rest call to get the devices in a Json Format and I can get the workspace into JSON, but i do not see the data that ties the two together. has any done something like this in the past?



Best regards,
Rudrakshi Srivastava
1 Reply 1

Rudrakshi
Cisco Employee
Cisco Employee

List Devices API do have workspaceId with each device that ties devices with workspace and that's what creates a relationship as you say - the devices within the workspace. But not really sure what do you mean with "do not see the data that ties the two together". Do you mean workspaceId is not present when you get the devices?



Best regards,
Rudrakshi Srivastava