gus1993
(Gustavo)
October 21, 2020, 4:11pm
1
Hello,
I’m trying to use API Orchestrator.
My goal is to add a queue item by API Orchestrator. I’mg using HTTP activities from orchestrator:
HTTP post - Authentication
I get a 200 and a result code XXXXXX
HTTP post - Adds a new queue item
3.1. Adding parameters with the content of the queue item
3.2. Adding a header with the result code of the step 2
The result is 500 - An error has ocurred.
Anyone may help us?
Thanks!
Check Your Headers and Parameters.
The /odata/Queues/UiPathODataSvc.AddQueueItem endpoint needs the headers below:
Access the documentation https://UrlOrch/swagger
gus1993
(Gustavo)
October 22, 2020, 6:20am
3
Hello @Jorge_Cavalcante
If I check swagger documentation, this is the information that I need:
With that information, it works an API creates an item. Nevertheless, If I provides this information at HTTP activity Studio, it solves with 500 error:
I cannot access to the URL you provide.
Thanks!
gus1993
You can check your input and make an appropriate call
Please find below the video link :
Orchestrator API - Authenticate
Also, you can implement the same with the “Orchestrator HTTP Request” activity
Orchestrator API using Orchestrator HTTP Request activity
1 Like
Hello Gustavo,
Here you have a video where I do all the steps from postman:
And here you have a playlist with more than 10 videos with HTTP request:
VIDEO
Thanks,
Cristian Negulescu