Enterprise 11: Request device details
- Última actualización2022/08/11
Enterprise 11: Request device details
Use this API to retrieve a list of devices that are available for bot deployment.
Prerequisites
- Roles and license
-
You need to authenticate as a user with an Unattended bot runner license.
-
URL:
http://<your_control_room_url>/v2/devices/list
- Method: POST
- id
-
The numeric identifier for a device.
- Field: id
- Type: integer
{ "filter": { "operator": "eq", "value": "7", "field": "id" } }
- hostName
-
The name of the registered device.
- Field: hostName
- Type: string
{ "filter": { "operator": "substring", "value": "AA", "field": "hostName" } }
- userId
-
A unique numeric identifier for the user associated with the registered device.
- Field: userId
- Type: long
{ "filter": { "operator": "eq", "value": "13", "field": "userId" } }
This task requests a list of all devices with a specific string in the name parameter and modified after a specific date. Use the list in the response to identify which devices are connected and available to run bots. All the devices in the list are registered Bot Runners.
Procedure
Next steps
Note the ids for devices with type of BOT_RUNNER and status of CONNECTED. Write down the device's id. The device id and bot id are used to deploy bots on Bot Runners.