SlideShare a Scribd company logo
1 of 15
Download to read offline
Webinar - Utilizzo delle WebApi dell'Orchestrator
UiPath – Rome Community Chapter presenta
UiPath Community – Rome Chapter 2
Speakers
Flavio Martinelli
Head of Automation @ Nethex
RPA Service Line Manager @ Soft Strategy
Salvatore Amato
RPA Expert Consultant
fmartinelli@softstrategy.it salvatoreamato.private@protonmail.com
UiPath Community – Rome Chapter 3
Timeline Eventi Community
Un viaggio nel mondo del professionista RPA.
Evento in CoHost con il Chapter di Torino.
Link -> Evento
28
Ottobre
2022
Webinar - Utilizzo delle WebApi dell'Orchestrator.
31
Gennaio
2023
Stay Tuned!!!
Upcoming
UiPath Community – Rome Chapter 4
Sondaggio
UiPath Community – Rome Chapter 5
Agenda
• Setup Orchestrator. Recupero variabili utili alle chiamate API
• Download degli esempi di Postman
• Setup chiamata di Autenticazione. Focus su differenze tra Community (Cloud),
OnPremise e External Applications
• Esempi di chiamate per ricevere informazioni da Orchestrator
• Chiamata di Start Job, normale e con Input Argument
• Esempi integrazione con sistemi esterni: Web App e Telegram
• Esempio di chiamata Api da UiPath Studio
UiPath Community – Rome Chapter 6
Setup Orchestrator. Recupero variabili utili alle chiamate API
Dalla pagina di UiPath
Administration, cliccare sul proprio
tenant e poi nel tab Orchestrator,
cliccare sui tre puntini e selezionare
API Access
Collegandosi poi al proprio
orchestrator e selezionando la
Modern Folder utilizzata salvare
questi valori.
UiPath Community – Rome Chapter 7
Download degli esempi di Postman
https://postman.uipath.rocks/#1008f80c-7d3f-48e9-9968-f918f52a5efe
E’ possibile scaricare una collezione di chiamate preimpostate su Postman
relative ad Orchestrator di UiPath.
https://docs.uipath.com/orchestrator/reference/read-me
Documentazione su API Orchestrator
UiPath Community – Rome Chapter 8
Setup chiamata di Autenticazione
POST /oauth/token HTTP/1.1
Host: account.uipath.com
Content-Type: application/json
Cookie: *
Content-Length: 164
{
"grant_type": "refresh_token",
"client_id": {CLIENT ID}
"refresh_token": {USER KEY}
}
AUTH Orchestrator Cloud
POST /api/Account/Authenticate HTTP/1.1
Host: {ORCHESTRATOR URL}
Content-Type: application/json
Content-Length: 116
{
"password": {PASSWORD ACCOUNT}
"usernameOrEmailAddress": {USERNAME
ACCOUNT},
"tenancyName": {NOME TENANT}
}
AUTH On Premise
POST /identity/connect/token HTTP/1.1
Host: {ORCHESTRATOR URL}
Content-Type: application/x-www-form-
urlencoded
Content-Length: *
grant_type=client_credentials&client_id={CLI
ENT ID}&client_secret={CLIENT
SECRET}&scope=OR.Robots%20OR.Robot
s.Read%20OR.Robots.Write%20OR.Machin
es%20OR.Machines.Read%20OR.Machines.
Write%20OR.Execution%20OR.Execution.R
ead%20OR.Execution.Write%20OR.Assets%
20OR.Assets.Read%20OR.Assets.Write%20
OR.Queues%20OR.Queues.Write%20OR.Jo
bs%20OR.Jobs.Read%20OR.Jobs.Write%20
OR.Users%20OR.Users.Read%20OR.Users.
Write
AUTH External App
UiPath Community – Rome Chapter 9
External Applications
UiPath Community – Rome Chapter 10
Esempi di chiamate
GET
/{{cloudOrg}}/{{cloudTenant}}/odata/Releases
?$filter=ProcessKey eq 'PetStore_UpdatePet'
HTTP/1.1
Host: {{cloudUrl}}
X-UIPATH-OrganizationUnitId: 1734790
Authorization: Bearer {AUTH TOKEN}
GET RELEASE
{"@odata.context":"https://cloud.uipath.com/Flavio0506/FlavioCommunityOrchestr
ator/orchestrator_/odata/$metadata#Releases","@odata.count":1,"value":[{"Key":"
95b324ed-17b1-4571-9f7a-
597e49bbca93","ProcessKey":"comm_processo2","ProcessVersion":"1.0.1","IsLat
estVersion":false,"IsProcessDeleted":false,"Description":"comm_processo2","Nam
e":"comm_processo2","EnvironmentId":null,"EnvironmentName":"","EntryPointId":
156327,"InputArguments":null,"ProcessType":"Process","SupportsMultipleEntryPo
ints":true,"RequiresUserInteraction":true,"IsAttended":false,"IsCompiled":true,"Aut
omationHubIdeaUrl":null,"AutoUpdate":false,"FeedId":"bc0bf486-523f-415a-bb6e-
fe3e6731f76b","JobPriority":"Normal","SpecificPriorityValue":45,"OrganizationUnitI
d":447369,"OrganizationUnitFullyQualifiedName":"Shared","TargetFramework":"W
indows","RobotSize":null,"AutoCreateConnectedTriggers":true,"RemoteControlAc
cess":"None","LastModificationTime":null,"LastModifierUserId":null,"CreationTime"
:"2023-01-
13T15:22:24.827Z","CreatorUserId":157857,"Id":382500,"Arguments":{"Input":"[]","
Output":"[]"},"ProcessSettings":null,"VideoRecordingSettings":null,"Tags":[],"Reso
urceOverwrites":[]}]}
RESPONSE
UiPath Community – Rome Chapter 11
Esempi di chiamate
GET
/Flavio0506/FlavioCommunityOrchestrator/or
chestrator_/odata/Jobs?$Filter=State eq
'Successful'&$orderby=EndTime DESC
HTTP/1.1
Host: cloud.uipath.com
Content-Type: application/json
X-UIPATH-TenantName: 59497
X-UIPATH-OrganizationUnitId: 447369
Authorization: Bearer {AUTH TOKEN}
Cookie: UiPathBrowserId=*
GET PROCESS STATUS
{"@odata.context":
"https://cloud.uipath.com/Flavio0506/FlavioCommunityOrchestrator/orchestrator_/odata/$metadata#Jobs
","@odata.count": 1,"value": [{"Key": "0188caec-f8be-4c50-97e6-120d119fe33b","StartTime": "2023-01-
13T16:00:38.303Z","EndTime": "2023-01-13T16:00:42.86Z","State": "Successful","JobPriority":
"Normal","SpecificPriorityValue": 45,"Source": "Manual","SourceType": "Manual","BatchExecutionKey":
"6e2f9f72-25a3-4e93-8081-1061b2256d01","Info": "Job completed","CreationTime": "2023-01-
13T16:00:37.71Z","StartingScheduleId": null,"ReleaseName": "comm_processo2","Type":
"Unattended","InputArguments": null,"OutputArguments": "{}","HostMachineName": {NOME
MACCHINA},"HasMediaRecorded": false,"HasVideoRecorded": false,"PersistenceId":
null,"ResumeVersion": null,"StopStrategy": null,"RuntimeType": "Unattended","RequiresUserInteraction":
true,"ReleaseVersionId": 736580,"EntryPointPath": "Main.xaml","OrganizationUnitId":
447369,"OrganizationUnitFullyQualifiedName": "Shared","Reference": "","ProcessType":
"Process","ProfilingOptions": null,"ResumeOnSameContext": false,"LocalSystemAccount": {USERNAME
PC},"OrchestratorUserIdentity": null,"RemoteControlAccess":
"None","MaxExpectedRunningTimeSeconds": null,"Id": 49932516}]}
RESPONSE
UiPath Community – Rome Chapter 12
Esempi di chiamate
POST
/Flavio0506/FlavioCommunityOrchestrator/or
chestrator_/odata/Jobs/UiPath.Server.Config
uration.OData.StartJobs HTTP/1.1
Host: cloud.uipath.com
Content-Type: application/json
X-UIPATH-OrganizationUnitId: 447369
Authorization: Bearer {AUTH TOKEN}
{
"startInfo": {
"ReleaseKey": "5afe79b8-5da8-4cad-
9fbb-b9883b3f627c",
"Strategy": "ModernJobsCount",
"JobsCount": 1,
"InputArguments":
"{"inMessaggio":"Processo Correttamente
Startato"}"
}
}
START JOB CON INPUT
{"@odata.context":"https://cloud.uipath.com/Flavio0506/FlavioCommunityOrchestrator/orchestrator_/oda
ta/$metadata#Jobs","value":[{"Key":"928b70b3-69d9-4341-aa94-
9f7197f8dd2b","StartTime":null,"EndTime":null,"State":"Pending","JobPriority":"Normal","SpecificPriority
Value":45,"Source":"Manual","SourceType":"Manual","BatchExecutionKey":"192ce1a1-2213-4d7f-98e3-
0bdacecd55fd","Info":null,"CreationTime":"2023-01-
25T11:53:44.133Z","StartingScheduleId":null,"ReleaseName":"comm_processo1","Type":"Unattended","
InputArguments":"{"inMessaggio":"Processo Correttamente
Startato"}","OutputArguments":null,"HostMachineName":null,"HasMediaRecorded":false,"HasVideoRec
orded":null,"PersistenceId":null,"ResumeVersion":null,"StopStrategy":null,"RuntimeType":"Unattended","
RequiresUserInteraction":true,"ReleaseVersionId":null,"EntryPointPath":"Main.xaml","OrganizationUnitId
":447369,"OrganizationUnitFullyQualifiedName":null,"Reference":"","ProcessType":"Process","ProfilingO
ptions":null,"ResumeOnSameContext":false,"LocalSystemAccount":"","OrchestratorUserIdentity":null,"Re
moteControlAccess":"None","MaxExpectedRunningTimeSeconds":null,"Id":50202453}]}
RESPONSE
UiPath Community – Rome Chapter 13
Esempio Telegram
UiPath Community – Rome Chapter 14
Esempio Web Application
UiPath Community – Rome Chapter 15
Grazie per l’attenzione!!
https://community.uipath.com/rome/

More Related Content

Similar to Webinar - Utilizzo delle WebApi dell'Orchestrator.pdf

OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack ArchitectureMirantis
 
ASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep DiveASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep DiveJon Galloway
 
DevOPS training - Day 1/2
DevOPS training - Day 1/2DevOPS training - Day 1/2
DevOPS training - Day 1/2Vincent Mercier
 
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0Krishna-Kumar
 
Deep Dive into SpaceONE
Deep Dive into SpaceONEDeep Dive into SpaceONE
Deep Dive into SpaceONEChoonho Son
 
DEVNET-1128 Cisco Intercloud Fabric NB Api's for Business & Providers
DEVNET-1128	Cisco Intercloud Fabric NB Api's for Business & ProvidersDEVNET-1128	Cisco Intercloud Fabric NB Api's for Business & Providers
DEVNET-1128 Cisco Intercloud Fabric NB Api's for Business & ProvidersCisco DevNet
 
Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ...
 Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ... Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ...
Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ...Furkan Turkal
 
Automating Rackspace with ONE Automation
Automating Rackspace with ONE AutomationAutomating Rackspace with ONE Automation
Automating Rackspace with ONE AutomationCA | Automic Software
 
From ZERO to REST in an hour
From ZERO to REST in an hour From ZERO to REST in an hour
From ZERO to REST in an hour Cisco DevNet
 
Petr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developeraPetr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developeraWebExpo
 
Federated Identity for IoT with OAuth2
Federated Identity for IoT with OAuth2Federated Identity for IoT with OAuth2
Federated Identity for IoT with OAuth2Paul Fremantle
 
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataGetInData
 
Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...Lucas Jellema
 
Presentation Magento OroCRM - MageConf 2014
Presentation Magento OroCRM - MageConf 2014Presentation Magento OroCRM - MageConf 2014
Presentation Magento OroCRM - MageConf 2014Sylvain Rayé
 
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...ITCamp
 
Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8FIWARE
 
FI-WARE Access Control GE (Part 3) – IdM OAuth Setup & Interfaces
FI-WARE Access Control GE (Part 3) – IdM OAuth Setup & InterfacesFI-WARE Access Control GE (Part 3) – IdM OAuth Setup & Interfaces
FI-WARE Access Control GE (Part 3) – IdM OAuth Setup & Interfacescdanger
 

Similar to Webinar - Utilizzo delle WebApi dell'Orchestrator.pdf (20)

OpenStack Architecture
OpenStack ArchitectureOpenStack Architecture
OpenStack Architecture
 
ASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep DiveASP.NET Core 3.0 Deep Dive
ASP.NET Core 3.0 Deep Dive
 
DevOPS training - Day 1/2
DevOPS training - Day 1/2DevOPS training - Day 1/2
DevOPS training - Day 1/2
 
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
 
Deep Dive into SpaceONE
Deep Dive into SpaceONEDeep Dive into SpaceONE
Deep Dive into SpaceONE
 
DEVNET-1128 Cisco Intercloud Fabric NB Api's for Business & Providers
DEVNET-1128	Cisco Intercloud Fabric NB Api's for Business & ProvidersDEVNET-1128	Cisco Intercloud Fabric NB Api's for Business & Providers
DEVNET-1128 Cisco Intercloud Fabric NB Api's for Business & Providers
 
Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ...
 Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ... Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ...
Threat Hunting at Scale: Auditing Thousands of Clusters With Falco + Fluent ...
 
Jason yammer api
Jason yammer apiJason yammer api
Jason yammer api
 
Automating Rackspace with ONE Automation
Automating Rackspace with ONE AutomationAutomating Rackspace with ONE Automation
Automating Rackspace with ONE Automation
 
From ZERO to REST in an hour
From ZERO to REST in an hour From ZERO to REST in an hour
From ZERO to REST in an hour
 
Petr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developeraPetr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developera
 
- Webexpo 2010
- Webexpo 2010- Webexpo 2010
- Webexpo 2010
 
Federated Identity for IoT with OAuth2
Federated Identity for IoT with OAuth2Federated Identity for IoT with OAuth2
Federated Identity for IoT with OAuth2
 
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
 
Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...Handson Oracle Management Cloud with Application Performance Monitoring and L...
Handson Oracle Management Cloud with Application Performance Monitoring and L...
 
MQTT security
MQTT securityMQTT security
MQTT security
 
Presentation Magento OroCRM - MageConf 2014
Presentation Magento OroCRM - MageConf 2014Presentation Magento OroCRM - MageConf 2014
Presentation Magento OroCRM - MageConf 2014
 
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
Provisioning Windows instances at scale on Azure, AWS and OpenStack - Adrian ...
 
Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8Fiware io t_ul20_cpbr8
Fiware io t_ul20_cpbr8
 
FI-WARE Access Control GE (Part 3) – IdM OAuth Setup & Interfaces
FI-WARE Access Control GE (Part 3) – IdM OAuth Setup & InterfacesFI-WARE Access Control GE (Part 3) – IdM OAuth Setup & Interfaces
FI-WARE Access Control GE (Part 3) – IdM OAuth Setup & Interfaces
 

More from Cristina Vidu

Communauté UiPath Suisse romande - Séance de janvier 2024
Communauté UiPath Suisse romande - Séance de janvier 2024Communauté UiPath Suisse romande - Séance de janvier 2024
Communauté UiPath Suisse romande - Séance de janvier 2024Cristina Vidu
 
State of the Automation Professional 2023: Insights and Implications for Nigeria
State of the Automation Professional 2023: Insights and Implications for NigeriaState of the Automation Professional 2023: Insights and Implications for Nigeria
State of the Automation Professional 2023: Insights and Implications for NigeriaCristina Vidu
 
Steps towards RPA Development: Create a Process Assessment Matrix
Steps towards RPA Development: Create a Process Assessment Matrix Steps towards RPA Development: Create a Process Assessment Matrix
Steps towards RPA Development: Create a Process Assessment Matrix Cristina Vidu
 
Dev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to ZDev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to ZCristina Vidu
 
Dev Dives: Unlock AI-driven automation with semantic automation & communicati...
Dev Dives: Unlock AI-driven automation with semantic automation & communicati...Dev Dives: Unlock AI-driven automation with semantic automation & communicati...
Dev Dives: Unlock AI-driven automation with semantic automation & communicati...Cristina Vidu
 
Advocating for the customer. Bringing soft skills into software development
Advocating for the customer. Bringing soft skills into software developmentAdvocating for the customer. Bringing soft skills into software development
Advocating for the customer. Bringing soft skills into software developmentCristina Vidu
 
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...Cristina Vidu
 
Steps towards RPA Development: How to Document your Automation.pdf
Steps towards RPA Development: How to Document your Automation.pdfSteps towards RPA Development: How to Document your Automation.pdf
Steps towards RPA Development: How to Document your Automation.pdfCristina Vidu
 
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...Cristina Vidu
 
Women in Automation - Intro to Studio Session 1
Women in Automation - Intro to Studio Session 1Women in Automation - Intro to Studio Session 1
Women in Automation - Intro to Studio Session 1Cristina Vidu
 
Think before we automate
Think before we automateThink before we automate
Think before we automateCristina Vidu
 
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...Cristina Vidu
 
Women in Automation - Introduction to RPA
Women in Automation - Introduction to RPAWomen in Automation - Introduction to RPA
Women in Automation - Introduction to RPACristina Vidu
 
Conversational AI and Chatbot Integrations
Conversational AI and Chatbot IntegrationsConversational AI and Chatbot Integrations
Conversational AI and Chatbot IntegrationsCristina Vidu
 
Let’s build an app with UiPath Apps!
Let’s build an app with UiPath Apps!Let’s build an app with UiPath Apps!
Let’s build an app with UiPath Apps!Cristina Vidu
 
Dev Dives: Unlock automation adoption with UiPath Apps
Dev Dives: Unlock automation adoption with UiPath AppsDev Dives: Unlock automation adoption with UiPath Apps
Dev Dives: Unlock automation adoption with UiPath AppsCristina Vidu
 
UiPath Amsterdam DEV meet-up For Developers, By Developers
UiPath Amsterdam DEV meet-up For Developers, By DevelopersUiPath Amsterdam DEV meet-up For Developers, By Developers
UiPath Amsterdam DEV meet-up For Developers, By DevelopersCristina Vidu
 
Jahresplanung und Content Map
Jahresplanung und Content MapJahresplanung und Content Map
Jahresplanung und Content MapCristina Vidu
 
Dev Dives 1 Building end-to-end automation for expense reports.pdf
Dev Dives 1 Building end-to-end automation for expense reports.pdfDev Dives 1 Building end-to-end automation for expense reports.pdf
Dev Dives 1 Building end-to-end automation for expense reports.pdfCristina Vidu
 

More from Cristina Vidu (20)

Communauté UiPath Suisse romande - Séance de janvier 2024
Communauté UiPath Suisse romande - Séance de janvier 2024Communauté UiPath Suisse romande - Séance de janvier 2024
Communauté UiPath Suisse romande - Séance de janvier 2024
 
State of the Automation Professional 2023: Insights and Implications for Nigeria
State of the Automation Professional 2023: Insights and Implications for NigeriaState of the Automation Professional 2023: Insights and Implications for Nigeria
State of the Automation Professional 2023: Insights and Implications for Nigeria
 
Steps towards RPA Development: Create a Process Assessment Matrix
Steps towards RPA Development: Create a Process Assessment Matrix Steps towards RPA Development: Create a Process Assessment Matrix
Steps towards RPA Development: Create a Process Assessment Matrix
 
Dev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to ZDev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to Z
 
Dev Dives: Unlock AI-driven automation with semantic automation & communicati...
Dev Dives: Unlock AI-driven automation with semantic automation & communicati...Dev Dives: Unlock AI-driven automation with semantic automation & communicati...
Dev Dives: Unlock AI-driven automation with semantic automation & communicati...
 
Advocating for the customer. Bringing soft skills into software development
Advocating for the customer. Bringing soft skills into software developmentAdvocating for the customer. Bringing soft skills into software development
Advocating for the customer. Bringing soft skills into software development
 
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
🌺 Women in Automation Program: Become an RPA Developer with UiPath Studio Ses...
 
Steps towards RPA Development: How to Document your Automation.pdf
Steps towards RPA Development: How to Document your Automation.pdfSteps towards RPA Development: How to Document your Automation.pdf
Steps towards RPA Development: How to Document your Automation.pdf
 
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
 
Women in Automation - Intro to Studio Session 1
Women in Automation - Intro to Studio Session 1Women in Automation - Intro to Studio Session 1
Women in Automation - Intro to Studio Session 1
 
Think before we automate
Think before we automateThink before we automate
Think before we automate
 
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
🌺 Women in Automation Program: Become a Citizen Developer with UiPath StudioX...
 
Women in Automation - Introduction to RPA
Women in Automation - Introduction to RPAWomen in Automation - Introduction to RPA
Women in Automation - Introduction to RPA
 
Conversational AI and Chatbot Integrations
Conversational AI and Chatbot IntegrationsConversational AI and Chatbot Integrations
Conversational AI and Chatbot Integrations
 
RPA Karaoke
RPA Karaoke RPA Karaoke
RPA Karaoke
 
Let’s build an app with UiPath Apps!
Let’s build an app with UiPath Apps!Let’s build an app with UiPath Apps!
Let’s build an app with UiPath Apps!
 
Dev Dives: Unlock automation adoption with UiPath Apps
Dev Dives: Unlock automation adoption with UiPath AppsDev Dives: Unlock automation adoption with UiPath Apps
Dev Dives: Unlock automation adoption with UiPath Apps
 
UiPath Amsterdam DEV meet-up For Developers, By Developers
UiPath Amsterdam DEV meet-up For Developers, By DevelopersUiPath Amsterdam DEV meet-up For Developers, By Developers
UiPath Amsterdam DEV meet-up For Developers, By Developers
 
Jahresplanung und Content Map
Jahresplanung und Content MapJahresplanung und Content Map
Jahresplanung und Content Map
 
Dev Dives 1 Building end-to-end automation for expense reports.pdf
Dev Dives 1 Building end-to-end automation for expense reports.pdfDev Dives 1 Building end-to-end automation for expense reports.pdf
Dev Dives 1 Building end-to-end automation for expense reports.pdf
 

Recently uploaded

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 

Recently uploaded (20)

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 

Webinar - Utilizzo delle WebApi dell'Orchestrator.pdf

  • 1. Webinar - Utilizzo delle WebApi dell'Orchestrator UiPath – Rome Community Chapter presenta
  • 2. UiPath Community – Rome Chapter 2 Speakers Flavio Martinelli Head of Automation @ Nethex RPA Service Line Manager @ Soft Strategy Salvatore Amato RPA Expert Consultant fmartinelli@softstrategy.it salvatoreamato.private@protonmail.com
  • 3. UiPath Community – Rome Chapter 3 Timeline Eventi Community Un viaggio nel mondo del professionista RPA. Evento in CoHost con il Chapter di Torino. Link -> Evento 28 Ottobre 2022 Webinar - Utilizzo delle WebApi dell'Orchestrator. 31 Gennaio 2023 Stay Tuned!!! Upcoming
  • 4. UiPath Community – Rome Chapter 4 Sondaggio
  • 5. UiPath Community – Rome Chapter 5 Agenda • Setup Orchestrator. Recupero variabili utili alle chiamate API • Download degli esempi di Postman • Setup chiamata di Autenticazione. Focus su differenze tra Community (Cloud), OnPremise e External Applications • Esempi di chiamate per ricevere informazioni da Orchestrator • Chiamata di Start Job, normale e con Input Argument • Esempi integrazione con sistemi esterni: Web App e Telegram • Esempio di chiamata Api da UiPath Studio
  • 6. UiPath Community – Rome Chapter 6 Setup Orchestrator. Recupero variabili utili alle chiamate API Dalla pagina di UiPath Administration, cliccare sul proprio tenant e poi nel tab Orchestrator, cliccare sui tre puntini e selezionare API Access Collegandosi poi al proprio orchestrator e selezionando la Modern Folder utilizzata salvare questi valori.
  • 7. UiPath Community – Rome Chapter 7 Download degli esempi di Postman https://postman.uipath.rocks/#1008f80c-7d3f-48e9-9968-f918f52a5efe E’ possibile scaricare una collezione di chiamate preimpostate su Postman relative ad Orchestrator di UiPath. https://docs.uipath.com/orchestrator/reference/read-me Documentazione su API Orchestrator
  • 8. UiPath Community – Rome Chapter 8 Setup chiamata di Autenticazione POST /oauth/token HTTP/1.1 Host: account.uipath.com Content-Type: application/json Cookie: * Content-Length: 164 { "grant_type": "refresh_token", "client_id": {CLIENT ID} "refresh_token": {USER KEY} } AUTH Orchestrator Cloud POST /api/Account/Authenticate HTTP/1.1 Host: {ORCHESTRATOR URL} Content-Type: application/json Content-Length: 116 { "password": {PASSWORD ACCOUNT} "usernameOrEmailAddress": {USERNAME ACCOUNT}, "tenancyName": {NOME TENANT} } AUTH On Premise POST /identity/connect/token HTTP/1.1 Host: {ORCHESTRATOR URL} Content-Type: application/x-www-form- urlencoded Content-Length: * grant_type=client_credentials&client_id={CLI ENT ID}&client_secret={CLIENT SECRET}&scope=OR.Robots%20OR.Robot s.Read%20OR.Robots.Write%20OR.Machin es%20OR.Machines.Read%20OR.Machines. Write%20OR.Execution%20OR.Execution.R ead%20OR.Execution.Write%20OR.Assets% 20OR.Assets.Read%20OR.Assets.Write%20 OR.Queues%20OR.Queues.Write%20OR.Jo bs%20OR.Jobs.Read%20OR.Jobs.Write%20 OR.Users%20OR.Users.Read%20OR.Users. Write AUTH External App
  • 9. UiPath Community – Rome Chapter 9 External Applications
  • 10. UiPath Community – Rome Chapter 10 Esempi di chiamate GET /{{cloudOrg}}/{{cloudTenant}}/odata/Releases ?$filter=ProcessKey eq 'PetStore_UpdatePet' HTTP/1.1 Host: {{cloudUrl}} X-UIPATH-OrganizationUnitId: 1734790 Authorization: Bearer {AUTH TOKEN} GET RELEASE {"@odata.context":"https://cloud.uipath.com/Flavio0506/FlavioCommunityOrchestr ator/orchestrator_/odata/$metadata#Releases","@odata.count":1,"value":[{"Key":" 95b324ed-17b1-4571-9f7a- 597e49bbca93","ProcessKey":"comm_processo2","ProcessVersion":"1.0.1","IsLat estVersion":false,"IsProcessDeleted":false,"Description":"comm_processo2","Nam e":"comm_processo2","EnvironmentId":null,"EnvironmentName":"","EntryPointId": 156327,"InputArguments":null,"ProcessType":"Process","SupportsMultipleEntryPo ints":true,"RequiresUserInteraction":true,"IsAttended":false,"IsCompiled":true,"Aut omationHubIdeaUrl":null,"AutoUpdate":false,"FeedId":"bc0bf486-523f-415a-bb6e- fe3e6731f76b","JobPriority":"Normal","SpecificPriorityValue":45,"OrganizationUnitI d":447369,"OrganizationUnitFullyQualifiedName":"Shared","TargetFramework":"W indows","RobotSize":null,"AutoCreateConnectedTriggers":true,"RemoteControlAc cess":"None","LastModificationTime":null,"LastModifierUserId":null,"CreationTime" :"2023-01- 13T15:22:24.827Z","CreatorUserId":157857,"Id":382500,"Arguments":{"Input":"[]"," Output":"[]"},"ProcessSettings":null,"VideoRecordingSettings":null,"Tags":[],"Reso urceOverwrites":[]}]} RESPONSE
  • 11. UiPath Community – Rome Chapter 11 Esempi di chiamate GET /Flavio0506/FlavioCommunityOrchestrator/or chestrator_/odata/Jobs?$Filter=State eq 'Successful'&$orderby=EndTime DESC HTTP/1.1 Host: cloud.uipath.com Content-Type: application/json X-UIPATH-TenantName: 59497 X-UIPATH-OrganizationUnitId: 447369 Authorization: Bearer {AUTH TOKEN} Cookie: UiPathBrowserId=* GET PROCESS STATUS {"@odata.context": "https://cloud.uipath.com/Flavio0506/FlavioCommunityOrchestrator/orchestrator_/odata/$metadata#Jobs ","@odata.count": 1,"value": [{"Key": "0188caec-f8be-4c50-97e6-120d119fe33b","StartTime": "2023-01- 13T16:00:38.303Z","EndTime": "2023-01-13T16:00:42.86Z","State": "Successful","JobPriority": "Normal","SpecificPriorityValue": 45,"Source": "Manual","SourceType": "Manual","BatchExecutionKey": "6e2f9f72-25a3-4e93-8081-1061b2256d01","Info": "Job completed","CreationTime": "2023-01- 13T16:00:37.71Z","StartingScheduleId": null,"ReleaseName": "comm_processo2","Type": "Unattended","InputArguments": null,"OutputArguments": "{}","HostMachineName": {NOME MACCHINA},"HasMediaRecorded": false,"HasVideoRecorded": false,"PersistenceId": null,"ResumeVersion": null,"StopStrategy": null,"RuntimeType": "Unattended","RequiresUserInteraction": true,"ReleaseVersionId": 736580,"EntryPointPath": "Main.xaml","OrganizationUnitId": 447369,"OrganizationUnitFullyQualifiedName": "Shared","Reference": "","ProcessType": "Process","ProfilingOptions": null,"ResumeOnSameContext": false,"LocalSystemAccount": {USERNAME PC},"OrchestratorUserIdentity": null,"RemoteControlAccess": "None","MaxExpectedRunningTimeSeconds": null,"Id": 49932516}]} RESPONSE
  • 12. UiPath Community – Rome Chapter 12 Esempi di chiamate POST /Flavio0506/FlavioCommunityOrchestrator/or chestrator_/odata/Jobs/UiPath.Server.Config uration.OData.StartJobs HTTP/1.1 Host: cloud.uipath.com Content-Type: application/json X-UIPATH-OrganizationUnitId: 447369 Authorization: Bearer {AUTH TOKEN} { "startInfo": { "ReleaseKey": "5afe79b8-5da8-4cad- 9fbb-b9883b3f627c", "Strategy": "ModernJobsCount", "JobsCount": 1, "InputArguments": "{"inMessaggio":"Processo Correttamente Startato"}" } } START JOB CON INPUT {"@odata.context":"https://cloud.uipath.com/Flavio0506/FlavioCommunityOrchestrator/orchestrator_/oda ta/$metadata#Jobs","value":[{"Key":"928b70b3-69d9-4341-aa94- 9f7197f8dd2b","StartTime":null,"EndTime":null,"State":"Pending","JobPriority":"Normal","SpecificPriority Value":45,"Source":"Manual","SourceType":"Manual","BatchExecutionKey":"192ce1a1-2213-4d7f-98e3- 0bdacecd55fd","Info":null,"CreationTime":"2023-01- 25T11:53:44.133Z","StartingScheduleId":null,"ReleaseName":"comm_processo1","Type":"Unattended"," InputArguments":"{"inMessaggio":"Processo Correttamente Startato"}","OutputArguments":null,"HostMachineName":null,"HasMediaRecorded":false,"HasVideoRec orded":null,"PersistenceId":null,"ResumeVersion":null,"StopStrategy":null,"RuntimeType":"Unattended"," RequiresUserInteraction":true,"ReleaseVersionId":null,"EntryPointPath":"Main.xaml","OrganizationUnitId ":447369,"OrganizationUnitFullyQualifiedName":null,"Reference":"","ProcessType":"Process","ProfilingO ptions":null,"ResumeOnSameContext":false,"LocalSystemAccount":"","OrchestratorUserIdentity":null,"Re moteControlAccess":"None","MaxExpectedRunningTimeSeconds":null,"Id":50202453}]} RESPONSE
  • 13. UiPath Community – Rome Chapter 13 Esempio Telegram
  • 14. UiPath Community – Rome Chapter 14 Esempio Web Application
  • 15. UiPath Community – Rome Chapter 15 Grazie per l’attenzione!! https://community.uipath.com/rome/