Lea y revise la documentación de Automation Anywhere

Automation 360

Cerrar contenidos

Contenidos

Abrir contenidos

Add queue consumer API

  • Actualizado: 2020/09/09
    • Automation 360 v.x
    • Explorar
    • Espacio de trabajo de RPA
    • Documentos de API

Add queue consumer API

Add queue consumers from different roles defined in the Control Room.

Antes de empezar

You must have the following:

  • Create queues or AAE_Queue Admin permission
  • The endpoint URLs:
    • <your_control_room_url>/v3/wlm/queues/{queueId}/consumers
    • <your_control_room_url>/v3/wlm/queues/list

Procedimiento

  1. Use the POST method and endpoint URL: <your_control_room_url>/v3/wlm/queues/{queueId}/consumers.
    Enter the queueId to which you want to add the consumers. This queueId is the same ID that was returned when you created the queue.
    Nota: If you want to search or get a list of all the available queueId, use the endpoint URL <your_control_room_url>/v3/wlm/queues/list.

    Lista de colas de WLM

    For example, use queueId as 17.
    POST https://192.0.2.0/v3/wlm/queues/17/consumers

    Enter one or more role id in the request body that you want to add as queue consumers. In this example, one role id as 21 is added as queue consumer.

    Request body:
    [
      {
        "id": 21
      }
    ]
  2. Envíe la solicitud.
    When the request is successful, the consumers are added to the queue.
    In this example, the consumer with role id as 21 is added to the queue.
    Response body:
    [
      {
        "id": 21,
        "createdBy": null,
        "createdOn": null,
        "updatedBy": null,
        "updatedOn": null,
        "tenantId": null,
        "version": 0,
        "tenantUuid": null,
        "description": null,
        "name": null,
        "accessRestriction": null,
        "permissions": [
          
        ],
        "countPrincipals": 0,
        "principals": [
          
        ]
      }
    ]
    La API REST responde a cada solicitud con un código de respuesta HTTP. Para más detalles sobre los códigos de respuesta, véase API response codes.

Qué hacer a continuación

Add Work Items to the queue

Enviar comentarios