As I am very new to Orchestrator API, I have started from the scratch of logging in the orchestrator using HTTP Request wizard, where I get “result” - (Authentication token) in response JSON. As per Orchestrator API Guide, we need to use auth token for future requests. Here I have set of questions,
Should I need to use another HTTP Request activity for another request (say to check my Timing Zone or any other requests) ?
PROBLEM : Whenever I request for robot/asset details, it responds an error message as “You are not authenticated (sign in) to perform this operation”
i want to process specific queue item which matches my filter… currently when we use get transaction item it marks as in progress … then only we will be able to see the values
if my filter is not matching then i want the status to remain in new
example i am trying to get all items with specific reference ID and manipulate it
Small note, QueueDefinitionName property is not available anymore from 2017.1 version of Orchestrator, however, you can identify queue using property QueueDefinitionId.
QueueDefinitionId can be retrieve using */odata/QueueDefinitions ressource, looking for name there first.
I have tried your example project and the authentication section works fine and returns an authorization key but the subsequent sections fail with this error
{“Result”:null,“TargetUrl”:null,“Success”:false,“Error”:{“Code”:0,“Message”:“You are not authenticated!”,“Details”:“You should be authenticated (sign in) in order to perform this operation.”,“ValidationErrors”:null},“UnAuthorizedRequest”:true,“__abp”:true}
I’m getting the same error on Get Robots and Start Job.
When I add the Access Token I get this error: GetRobots : Assign AccessToken : Object reference not set to an instance of an object.