automation-hub
2021.10
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática.
Guía de la API de Automation Hub
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated 19 de sep. de 2023

Realizar llamadas a la API de Automation Hub

  • Define the token as a bearer -H 'Authorization: Bearer [Tenant ID]/ [Token_generted_from_the_Open API_page].

  • If an App Key was defined when generating the token, it's mandatory that you apply it using the following key: x-ah-openapi-app-key: [defined app key]

  • Adding x-ah-openapi-auth: openapi-token key in the header is mandatory as it indicates the token type.

The easiest way to build the Automation URL is by using the process_slug.

For example, if the process_slug is: process_slug": "onboarding-of-new-employee"

Then the URL for that automation is: https://{yourDomain}/automationhub_/process_slug/onboarding-of-new-employee

The request should look as in the following example:

Content-Type: application/json 
Authorization: Bearer [Tenant ID/Token] 
x-ah-openapi-app-key: [API key if added] 
x-ah-openapi-auth: openapi-tokenContent-Type: application/json 
Authorization: Bearer [Tenant ID/Token] 
x-ah-openapi-app-key: [API key if added] 
x-ah-openapi-auth: openapi-token
  • Utiliza la opción Copiar al portapapeles disponible después de la columna Token para copiar y pegar tu valor [Tenant ID\Token] desde tu página API abierta de Automation Hub como se describe en la página Generar tu token.
    docs image
  • If an App Key is included for your token, a Copy to Clipboard option becomes available after the App Key column. Use it to copy-paste your [App Key] value.
    docs image
Nota:

El [Token] necesario para realizar llamadas a la API de Automation Hub tiene validez limitada. En caso de que haya expirado, edita la fecha de vencimiento accediendo a la opción Acciones > Editar desde la columna Acción correspondiente al token O genera un nuevo token como se menciona en la página Generar tu token.De lo contrario, recibirás un código de estado 401.

¿Te ha resultado útil esta página?

Obtén la ayuda que necesitas
RPA para el aprendizaje - Cursos de automatización
Foro de la comunidad UiPath
Uipath Logo White
Confianza y seguridad
© 2005-2024 UiPath. Todos los derechos reservados.