API endpoint for an workflow

How to create an Single Service/Public API endpoint for a Process in Orchestrator to run Run the Job through that API endpoint (URL)

Thanks,

@Sai_K

Can you elaborate what you are trying to do…

If you are talking about creating end point for xaml then I dont think there is any direct way or also may be not any way unless you expose it to a webservice and then consume from there

Cheers

@Anil_G
I want to create an API endpoint to xaml. or Can we create an API endpoint to a particular Process in orchestrator

@Sai_K

If you want to trigger any process then there is an api end point already to trigger any process from orchestrator…there is nothing to create for individual processes

Please check this documentation…

https://docs.uipath.com/orchestrator/v0/reference/consuming-cloud-api

You can check the swagger for end point details and how to trigger

<orchestrator url>/swagger/index.html this will take you to the swagger file

https://docs.uipath.com/orchestrator/v0/reference/authorizing-api-calls-in-swagger

Hope this helps

Cheers

I want to create a Single Service/Public API endpoint for a Process in Orchestrator to run Run the Job. That endpoint should be like it can be used anywhere & be able to Run the Job.

@Sai_K

You have a start job endpoint which takes the key of the process that it needs to start…with using that parameter…you can start the required job from anywhere using that api

Cheers

@Anil_G
Yes, i used postman to create, it’s creating a endpoint for the collection & i am able to run the Job. But here what i need is that endpoint (URL) should not expose about postman & about my Orchestrator

@Sai_K

Then you need to create a middle ware…which can create an endpoint and that end point in turn calls this orchestrator api end point

Cheers

@Anil_G
Can you pls brief about it

@Sai_K

As you dint want to expose the api at all…

Cheers