Hello Creator’s ,
Q1. What is X-UIPATH-OrganizationUnitId and where can I get this details.
Content-Type : application/json
X-UIPATH-TenantName : {{tenantName}}
X-UIPATH-OrganizationUnitId : {{folderId}}
Q2. I have used got two keys one is access_token & id_token while requesting -https://account.uipath.com/oauth/token
if I use access token for Post Queues - Create
Where should I use the access token?
Please help me with creating queues via API.
Regards,
Srenivasan Kannan
1 Like
HareeshMR
(Hareesh Madasi)
December 18, 2019, 12:57pm
2
Please check this thread for better understanding on the issue @SrenivasanKanna
Hi,
I am getting error message while adding queue items through orchestrator API in HTTP request…Can anyone help me regarding what is the error…?
I have attached a screenshot.[API]
3 Likes
It’s long time I know but I just found out that the API which is sending you back list of yours folders have column ID in return - you can find all IDs there
Here is endpoint:
change for your parts of link
https://cloud.uipath.com/mikolvzsadnu/MikolajDefault/orchestrator_/mikolvzsadnu/MikolajDefault/orchestrator_/api/FoldersNavigation/GetAllFoldersForCurrentUser
type GET
Headers:
X-UIPATH-TenantName - tenant name
Authorization - Bearer + your access token
Have fun
is this forum read by real human or just bots ?
i’m getting this error code {“message”:“An organization unit is required for this action.”,“errorCode”:1101,“resourceIds”:null}
while tyrying to start a job using rest API on community platform “odata/Jobs/UiPath.Server.Configuration.OData.StartJobs” and i can’t understand this error code
of course don’t expect any help from swagger doc which is buggy / nor on outdated docsite
where could i get help ?
hey, can post your body and headers? - response, and code? - this which is return by API here is my example:
Authenticator_cloud.xaml (11.0 KB) Authenticator_on_permis.xaml (14.5 KB) MyFolders.xaml (24.5 KB) WhoAmI.xaml (13.0 KB)
Thanks for your response Mikolaj,
i’m new to UIPath and don’t know what to do with thoses .xaml files
i finaly could intercept and api call and fond the required information. it seems the swagger doc is a bit false or un clear
Yes, swagger is bit problematic - open them in UiPath studio all config you can get from Http request activity settings.