UiPath Orchestrator API : StartJobs

orchestrator
json

#1

Hello,

Does anyone have a suggestion on this issue?

Thanks&Regards…!!
Susana

Continuing the discussion from How to Create JSON body text in HTTP Request:


Problem with HTTP POST request
Call Robot In Orchestrator By Rest APi
Problem to start job In Orchestrator
#2

Hi,

The solution is very easy :flushed:, passign the data in the Body property of the HTTP Request activity.


How to Create JSON body text in HTTP Request
#3

HI Susan,

I could not find the body,body format option in my uipath 2016.1.5 version .can you please suggest me how to create json body text in httprequest


#4

Hello @Sukesh

I´m using UiPath Studio 2016.2 version…

Could you try to update your UiPath version?


#5

Thank you so much @Susana:slight_smile:


#6

I am trying to use the RetryQueueItem() and have the same problem as above, I cannot seem to get the information correctly passed through. I have read all the posts about how the body format is supposed to look, but still nothing works.

This is the end url: “https://XXXXXXXXXX/odata/QueueItems/UiPathODataSvc.RetryQueueItem()

This is the body: - “{”“ids”": [1680]}" -

I have also tried using Cha(34) instead of: "


#7

@Lenz
Is this resolved?Getting same issue,Please help


#8

Yes. We tried replacing " with ’ så the body we send looks similar to this:
{ ‘startInfo’: { ‘ReleaseKey’: ‘XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX’, ‘RobotIds’: [ 10 ], ‘Strategy’: ‘Specific’ }}

Of course as a string, surrounded by " ".


#9

:+1: Worked Perfectly. Thanks @Lenz