Accessing Orchestrator via API using Coded Automations

Hello There,

Can someone please point me to the resources that help me connect to Orchestrator using Coded Workflows or Code Source Files ? Any Examples would be of great help.

Thank you
Hara

Hi @Hara_Gopal

You could install UiPath.WebAPI.Activities and use HTTP Request

you can see all available methods at https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/swagger/ui/index#/
Remember to replace {organizationName} and {tenantName}

also there are examples here

Regads

@Hara_Gopal

you can use liek this

image

var abc = system.OrchestratorHTTPRequest(UiPath.Core.Activities.OrchestratorAPIHttpMethods.GET,"/odata/Processes");

you can define response header,response value etc as you need

cheers