I was able to test the API call mentioned in the below article. However, it just mentions one service API Call, which can put a specific batch job to a waiting status.
I was able to see in the Power Automate that it has more Services like Hold ALL jobs, but it does not seem to work with the API nor does it work with the Power Automate tool.
Is it possible to put all batch jobs on hold using the BATCH ODATA API
Thank you Martin!
I saw the service in Power Automate.
I got the answer to my question while answering you :)
It seems part of a BatchGroup and not a Batch Job. I was able to send a request..
{Url}/data/BatchGroups/Microsoft.Dynamics.DataEntities.HoldAllJobs
Seems like we need to create Batch Groups for jobs that need to be paused.. still needs to be tested..
Martin Dráb230,605Most Valuable Professional
on at
Is it possible to put all batch jobs on hold using the BATCH ODATA API
If you look at the data entity (BatchJobEntity) in F&O, you'll see that SetBatchJobToWaiting is the only OData action is offers (at least in 10.0.37). Where do you "Services like Hold ALL jobs"? On some other entity?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.