Lea y revise la documentación de Automation Anywhere

Automation 360

Cerrar contenidos

Contenidos

Abrir contenidos

Retrieve migrated bots

  • Actualizado: 2021/01/28
    • Automation 360 v.x
    • Explorar
    • Espacio de trabajo de RPA
    • Documentos de API

Retrieve migrated bots

Use this API to retrieve a list of Enterprise 10 migrated bots that are copied to the Automation 360 database.

Antes de empezar

You must have an admin role or a custom role with View Migration permission to retrieve migrated bots.

Procedimiento

  1. Añade el token de autenticación a la cabecera de la solicitud.Use the HTTP request syntax (URL):
  2. Use the ID from the API response body as the migrationId.
  3. Utilice el método POST y la URL del punto final:<your_control_room_url>/v2/migration/{migrationId}/bots/list
    Cuerpo de la solicitud:
    {
      "sort": [],
      "filter": {},
      "fields": [],
      "page": {
        "offset": 0,
        "total": 100,
        "totalFilter": 100,
        "length": 200
      }
    }

    Request parameters:

    Parámetro Obligatorio Tipo Descripción
    ordenar No Cadena Sort directions
    filtrar No Cadena Filter rules
    campos No Cadena Filter fields
    página No Entero Pagination rules
    compensación Entero Page starting index
    total No Entero Total number of items
    Filtrototal No Entero Total number of items matching the filter
    length Entero Number of items to be returned
  4. Envía la solicitud.Send the request.
    Cuerpo de la respuesta:
    {
      "page": {
        "offset": 0,
        "total": 1004,
        "totalFilter": 1004
      },
      "list": [
        {
          "id": 17,
          "type": "BOT",
          "sourceId": "186",
          "targetId": 15,
          "name": "DelayLoop - Copy (129).atmx",
          "status": "SUCCESS",
          "reason": "",
          "targetPath": "Automation Anywhere\\Bots\\My Tasks\\Migration Extra"
        },
        {
          "id": 18,
          "type": "BOT",
          "sourceId": "438",
          "targetId": 17,
          "name": "DelayLoop - Copy (115).atmx",
          "status": "SUCCESS",
          "reason": "",
          "targetPath": "Automation Anywhere\\Bots\\My Tasks\\Migration Extra\\RM-APIAutomation"
        },
        ..........................
         {
          "id": 216,
          "type": "BOT",
          "sourceId": "703",
          "targetId": 221,
          "name": "DelayLoop - Copy (132).atmx",
          "status": "SUCCESS",
          "reason": "",
          "targetPath": "Automation Anywhere\\Bots\\My Tasks"
        }
      ]
    }

    Response parameters: