Lea y revise la documentación de Automation Anywhere

Automation 360

Cerrar contenidos

Contenidos

Abrir contenidos

Retrieve migrated users

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

Retrieve migrated users

Use this API to retrieve Enterprise 10 database users 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 users.

Procedimiento

  1. Añade el token de autenticación a la cabecera de la solicitud.
  2. Use the ID from the API response as the migrationId.
  3. Utilice el método POST y la URL del punto final:<your_control_room_url>/v2/migration/{migrationId}/users/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 Entero Pagination rules
    compensación Entero Page starting index
    total No Entero Total number of items
    Filtrototal No Entero Total number of items matching filter
    length Entero Number of items to be returned
  4. Envía la solicitud.
    Cuerpo de la respuesta:
    {
      "page": {
        "offset": 0,
        "total": 5,
        "totalFilter": 5
      },
      "list": [
        {
          "id": 10,
          "type": "USER",
          "sourceId": "1",
          "targetId": 11,
          "name": "admin_1",
          "status": "SUCCESS",
          "reason": "The user admin has been renamed to admin_1 as the user with same name already exists",
          "targetPath": ""
        },
        ......................
        {
          "id": 14,
          "type": "USER",
          "sourceId": "5",
          "targetId": 15,
          "name": "admin10503",
          "status": "SUCCESS",
          "reason": "",
          "targetPath": ""
        }
      ]
    }

    Response parameters:

    Parámetro Descripción
    Lista List of users
    id The user ID

    It is used for UI purpose only.

    tipo The migration type