Trying to edit orchestrator asset

assets

#1

Hi

I am trying to update the asset in orchestrator. I was not successful in updating the asset , when i check the logs i can see error 404 which is not so descriptive. Can any one share the sample .xaml file which has functionality to update asset in orchestrator.

regards
tony


#2

Hello there,
Only using the Orchestrator API.
Reference


#3

Hi DDpadil

I have used ‘Http client’ activity to update the asset in orchestrator.
Activity properties are as below:
Input - endpoint:"https://platform.uipath.com/odata/Assets(ID)"
Method - PUT
Headers -
Authorization : “Bearer” + Token (token is variable having authentication token information.)
Content-Type: “Application/json”

Parameters-
Name: "XXXXXXXXXXXXXX"
Canbedeleted: "True"
ValueScope: "Global"
ValueType: "Text"
Value :
StringValue: "XXXXXXXXXXXX"
Boolvalue : "false"
Intvalue : “0”

With this information it is throwing error 404, for which i cannot see proper description in logs. Please let me know how can i overcome this error.

regards
Tony