Automation Hub
Plus récente (Latest)
False
Image de fond de la bannière
Guide de l'API Automation Hub
Dernière mise à jour 29 janv. 2024

Passer des appels API 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://automation-hub.uipath.com/{tenantName}/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
  • Utilisez l'option Copier dans le presse-papiers (Copy to Clipboard) disponible après la colonne Jeton (Token) pour copier-coller votre valeur [ID de locataire/jeton (Tenant ID\Token)] à partir de votre page Ouvrir l'API (Open API) Automation Hub comme décrit dans la page Générer votre jeton (Generate your 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
Remarque :

Le [Jeton] requis pour passer des appels API Automation Hub a une validité limitée. S'il a expiré, modifiez la date d'expiration en accédant à l'option Actions (Actions) > Modifier (Edit) à partir de la colonne Action correspondant au jeton OU générez un nouveau jeton comme mentionné à la page Générer votre jeton (Generate your Token). Sinon, vous recevrez un code de statut 401.

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Logo Uipath blanc
Confiance et sécurité
© 2005-2024 UiPath. All rights reserved.