ecomuse
February 16, 2022, 5:47am
1
Hi. I want to get ‘Orchestrator’s process name’ from Orchestrator API.
So I referred the Orchestrator API guide.
and I can see very long JSON data,
But I don’t know how I abstract the specific value what I marked red, “Key”.
I also used filter, but It occurs like this:
I think I didn’t use the correct filter. To get the “Key”, What filter need to me?
1 Like
Hey @ecomuse
If you want to get only specific props in response, just use field names in the select query param.
The props whatever you pass in the Select OData query just that will be coming in response without any other props.
Hope this helps
Thanks
#nK
ecomuse
February 16, 2022, 6:20am
4
Thank you for your interest in my question,
but still I don’t know how to solve this.
Please give specific example like this:
(your Orchestrator URL)/odata/Processes?filter=“Key”
1 Like
Hi @ecomuse
Here you go …
(your Orchestrator URL)/odata/Processes? select=“Key”
Thanks
#nK
1 Like
ecomuse
February 16, 2022, 6:25am
6
Dear @Nithinkrishna ,
I tried that but get like this:
I just want to get what I marked as red.
Can you give help one more?
1 Like
Hey @ecomuse
Kindly remove the quotes for the word Key please…
Select=Key
Above should work.
Thanks
#nK
1 Like
ecomuse
February 16, 2022, 7:31am
8
Thanks for your kind answer, so I solved problem.
Your answer was almost right, and we need ‘$’ after ‘?’ like this:
/odata/Processes?$Select=Key
Thank you once again.
1 Like
Cool @ecomuse
Yes of course, that should be added for OData API queries.
Thanks
#nk
1 Like
For additional information the following document had OData Filter usage and examples.
https://docs.uipath.com/orchestrator/reference/building-api-requests
1 Like
system
(system)
Closed
February 19, 2022, 1:57pm
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.