UiPath Documentation
automation-hub
2022.10
false
Guía de la API de Automation Hub
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Realizar llamadas a la API de Automation Hub

  • Defina el token como un portador -H 'Autorización: Portador <Tenant_ID>/.
  • Si se definió una clave de aplicación al generar el token, es obligatorio aplicarla utilizando la siguiente clave: x-ah-openapi-app-key: [clave de aplicación definida]
  • Añadir la clave x-ah-openapi-auth: openapi-token en el encabezado es obligatorio, ya que indica el tipo de token.

La forma más fácil de crear la URL de automatización es utilizando process_slug.

Por ejemplo, si process_slug es: process_slug": "onboarding-of-new-employee"

Entonces, la URL de esa automatización es: {baseURL_ah}/process_slug/onboarding-of-new-employee

The request should look as in the following example:

Content-Type: application/json
Authorization: Bearer <Tenant_ID>/<your-access-token>
x-ah-openapi-app-key: [API key if added]
x-ah-openapi-auth: openapi-token
Content-Type: application/json
Authorization: Bearer <Tenant_ID>/<your-access-token>
x-ah-openapi-app-key: [API key if added]
x-ah-openapi-auth: openapi-token
  • Use the Copy to Clipboard option available after the Token column to copy-paste your [Tenant ID\Token] value from your Automation Hub Open API page as described in the Generate your Token page.

  • Si se incluye una clave de aplicación para tu token, la opción Copiar en portapapeles estará disponible después de la columna Clave de aplicación. Úselo para copiar y pegar su valor [App Key] .

Nota:

The [Token] required for making Automation Hub API calls has limited validity. In case this expired, edit the expiration date by accessing the Actions > Edit option from the Action column corresponding to the token OR generate a new token as mentioned in the Generate your Token page. Otherwise, you will receive a 401 status code.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado