How to get Folder Name and Folder ID using Orchestrator API

Hi All,
I want to know the Folder Name and Folder Id that are available in my Orchestrator using API. I am using On Premise Orchestrator version 2019.10.4

When I use the API https://{{OrchURL}}/odata/Folders/ in Community Version of Orchestrator, I am getting response with all details of folders, but when I amusing the OnPrem URL it is sending 0 folders

{
@odata.context”: “https://{{ORCHURL}}/odata/$metadata#Folders”,
@odata.count”: 0,
“value”:
}

Can someone please help me and guide me how can I get list of all folders with their IDs and Other details.Thanks

Hi @ankitroy

welcome to forum

First you need to configure some settings in orchestrator prior to using the api call

For more information, please refer this

@Priyanka_Bhalere

Regards,

Nived N

Happy Automation

HI @NIVED_NAMBIAR ,

Thanks, but I am able to consume all the other API calls. I just wanted to know the API Endpoint which I should use to get Folder and Folder ID. If you can provide me that that would be great.

Thanks

@ankitroy

{{url}}/odata/Folders This will be the endpoint.

For more details you can refer the below document and video.

Doc - UiPath Connector Guide
Video - UiPath Orchestrator API Using Postman | Part 2 | Authenticate & Get Folder ID - YouTube

1 Like

@ankitroy Have you sorted out this issue?