Hello everyone,
So I read this thread How to Stop the Trigger(Schedule) thru API, but I have no idea how can I enable/disable Trigger schedule by using information from swagger and applying them to Orchestrator HTTP request. Can you guys help me?
Here is what I fill in Orchestrator HTTP request: method = post, RelativeEndpoint= “/odata/ProcessSchedules/UiPath.Server.Configuration.OData.SetEnabled”. What I should fill next?
Thanks for reading.
Check below for your reference
https://docs.uipath.com/orchestrator/reference/schedules-requests
Hope this may help you
Thanks
We can try with PROCESS SCHEDULES in swagger
Where the body is
{
“enabled”: true,
“scheduleIds”: [
0
]
}
Choose application/Json
And
Mention the organisation I’d
We can get the body string from swagger it self
Cheers @Dam_Son
I’ve read many threads saying about the body. What is it?
Where should I paste this code? What activities I used to paste this code?
{
“enabled”: true,
“scheduleIds”: [0]
}
For scheduleIds
, I have 2 trigger schedules. How do I know the id of each schedule?
Thank you.
Thank you. I realized that I installed wrong Web Activity Packages so there was no HTTP request. Now I use HTTP request and see the “body” you mentioned. At first I used Orchestrator HTTP request
No further question. You can close it. Thank you.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.