dbpalme
(Emory PSAdmin)
1
i am trying to grab an asset id and i’m trying to use the following:
curl -X 'GET' \
'https://cloud.uipath.com/{organization_name}/{tenant_name}/orchestrator_/odata/Assets/UiPath.Server.Configuration.OData.GetFiltered?%24filter=Test_Asset' \
-H 'accept: application/json'
I am getting “Invalid OData query options”… This is from swagger and I simply need to return a single asset and it’s related info.
Anyone have any suggestions or quick fixes?
Thanks,
dp
Anil_G
(Anil Gorthi)
2
@dbpalme
Welcome to the community
this is the way you need to use
<OrchestratorURL>/odata/Assets/UiPath.Server.Configuration.OData.GetFiltered?%24filter=Name%20eq%20'AssetName'
so infilter you need to give Name eq 'AssetNameToBeFiltered'
Hope this helps
cheers
Hi @dbpalme,
Welcome to UiPath Community !!
To get/Grab Asset from the Orchestrator using HTTP Request please check the below Video,
Documentation - https://postman.uipath.rocks/
I hope this will helps you.
Happy Learning !!
dbpalme
(Emory PSAdmin)
4
Hey Anil, thanks so much. That was the part that I was missing.
And now on to the next part of the puzzle.
dp