Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Rene
  •  Rene
  • Paid support Topic Starter
2015-12-01T16:30:03Z
Hi,

I'm currently looking at the Web API for Visual Cron 8 but I can't find anything in the docs (http://localhost:8001/VisualCron/text/docs) that indicates the possibility of creating a job/task/trigger via the Web API. Is this currently possible? And if not, is this something that could be added in a future release?


Thanks,

René
Sponsor
Forum information
Support
2015-12-01T17:34:52Z
Currently not. A Job or Task is a bit complex to add just based on strings. I suggest you use the .NET API or PowerShell for this.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Wesley
2016-02-26T19:28:36Z
We too are looking for a feature like this. Would it be possible to create a JobClass instance, populate its properties, serialize it to json and post that to a similar route like /json/job/Add? Currently using the .Net Api we have to Open a connection create the job class and then call add or update like this.
if (!isNewJob)
{
cronConnection.CronServer.Jobs.Update(newJob);
}
else
{
cronConnection.CronServer.Jobs.Add(newJob);
}

A route in the WebApi for update and add would really help. It is an expensive operation to open the connection from a remote web application in our case.
Scroll to Top