Hi,
We have an Orchestrator installed on premises. I was wondering if anyone know how can I create an API request to list all of the Queue names we have in specific folder?
Thanks
Hi,
We have an Orchestrator installed on premises. I was wondering if anyone know how can I create an API request to list all of the Queue names we have in specific folder?
Thanks
You can check the link for references on how to access those API in the link here:
https://docs.uipath.com/orchestrator/reference/api-references
For the how, You would need to authenticate using the /api/Account/Authenticate
first to get the Token. Then Apply the Bearer Token with the /odata/QueueDefinitions
to get the list of Queue information
Sample Request:
curl -X GET "https://xxxx/odata/QueueDefinitions" -H "accept: application/json" -H "X-UIPATH-OrganizationUnitId: FolderId"
Sample Response:
{
"@odata.context": "https://xxxxxx/odata/$metadata#QueueDefinitions",
"@odata.count": 1,
"value": [
{
"Name": "Test",
"Description": "",
"MaxNumberOfRetries": 1,
"AcceptAutomaticallyRetry": true,
"EnforceUniqueReference": false,
"SpecificDataJsonSchema": null,
"OutputDataJsonSchema": null,
"AnalyticsDataJsonSchema": null,
"CreationTime": "2021-11-09T15:35:19.9Z",
"ProcessScheduleId": null,
"SlaInMinutes": 0,
"RiskSlaInMinutes": 0,
"ReleaseId": null,
"IsProcessInCurrentFolder": null,
"FoldersCount": 1,
"OrganizationUnitId": 1,
"OrganizationUnitFullyQualifiedName": "Default",
"Id": 1
}
]
}
So if you just add swagger/index.html
. to your on-prem url link of the orchestrator it navigates you to the swager page of available api’s for orchestrator.
Exactly what I needed.
Thank you
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.