Azure API Management


Azure Scheduler Rest API: Update Job - How to Remove advanced scheduling options? - Error: Schedules are not supported for recurrence unit 'Hour'


Hi Guys,
I am using the Azure Scheduler REST API, and I am having a hard time updating one job recurrence from weekly/monthly to hourly. Specifically I get the following error:
Schedules are not supported for recurrence unit 'Hour'.
The problem is that the specific job used to have some advanced scheduling options, which of course I do not need if I want to update to hourly frequency. According to the official documentation if you do not include one field (in this case 'schedule'),
the current value will be carried over. What I am trying to achieve is remove the field. I have tried not including the schedule field at all, including it with null value, including it with empty object or with all properties (hours, minutes etc.) set to
null and in all cases I got a HTTP Bad Request with the error message above.
Here's my job as returned by a get operation:
{
"id":"************",
"type":"Microsoft.Scheduler/jobCollections/jobs",
"name":"my-job-collection/my-job-id",
"properties":{
"startTime":"2016-03-01T00:00:00Z",
"action":{ /*....*/ },
"recurrence":{
"frequency":"week",
"interval":4,
"schedule":{
"minutes":[ 0 ],
"hours":[ 12 ],
"weekDays":[ "saturday" ]
}
},
"state":"enabled",
"status":{ /*....*/ }
}
And here is the patch I am trying to submit:
{
"properties":{
"recurrence":{
"frequency":"hour"
}
}
}
/* or */
{
"properties":{
"recurrence":{
"frequency":"hour",
"schedule": null /* or {} or {"minutes": null, etc} or {"minutes": [], etc} */
}
}
}
The API version I am using is 2016-01-01.
Any help would be appreciated. Thank you.
Greetings,
Please check the below link which is already replied in stack over flow by Mr.
Jack Zeng .
http://stackoverflow.com/questions/35862438/azure-scheduler-rest-api-update-job-error-schedules-are-not-supported-for-rec
Regards,

Related Links

Best method to allow Unauthenticated access to API in Azure APIM
validate-jwt - Unable to create to obtain configuration
Client-Side Certificate Authentication with Azure and Apache/Rails
OAuth2 backend API to expose with basic authentication
Set a variable with JWT claim as value
Creating a Webservice in Azure
REST Api just heavily changed?
Azure Resource created by/ created at
Developer portal showing various Liquid errors
Is there REST API to Create/Update/Delete API Policies?
Azure Service Fabric Cluster with OWIN Stateless Web api.
eLogic Learning LMS - Configuring the Multi-Language feature with Azure Cognitive Services
APIM instance stuck on "updating" state after upgrading licens
401 error
Mutual Certificate Proxy Authentication
Call Azure Api from website

Categories

MSDN
Windows and Windows ph...
SharePoint
Windows Phone Dev Center
Architecture
Learning
Microsoft Robotics
SQL Server
Dynamics
ScriptJunkie
Lync Server
Microsoft Azure
Archived Forums SA-SM
Archived Forums X-Z
Virtualization
MSDN and TechNet Profi...
C++ Standards, Extensi...
Visual F#
Visual Studio General ...
Visual Studio Setup an...
Visual Studio Tools fo...
Visual Studio LightSwi...
Test Tools in Visual S...
Register and Manage Ac...
Payouts and Reporting
App & Ad Unit Management
Network Monitor
Peer-to-Peer Networkin...
Windows Filtering Plat...
Development with the W...
Access for Developers
SharePoint 2010 - Setu...
SharePoint Legacy Vers...
SharePoint Legacy Vers...
Service Bus
Azure Virtual Machines
Azure Search
Azure API Management
Azure Key Vault
StorSimple
Azure Logic Apps
Team Foundation Server...
Team Foundation Server...
Team Foundation Server...
Team Foundation Server...
Team Foundation Server...
BizTalk Server RFID
ADO.NET DataSet
ADO.NET Entity Framewo...
HealthVault Developer
Microsoft Robotics - C...
Microsoft Robotics - S...
Visual Studio Smart De...
SQL Server Reporting S...
SQL Server Database En...
SQL Server Compact
Power Pivot
Standard 7: Tools
Standard 7: Servicing ...
Windows Embedded 8.1 I...
SQL Server 2012 Setup ...
SQL Server 2012 PowerP...
Windows Forms Designer
Windows Forms Data Con...
Windows Server 2008 Ap...
Bing Maps Web Controls
Office Live Basics, Es...
Project Customization ...
Project Server - Setup...
Microsoft Lync Client ...
Report a Silverlight Bug
Expression Blend + Ske...
Expression Encoder
Reference Source Serve...
Microsoft Security Dev...
Retired SharePoint Col...
Project Standard and P...
AppFabric Service and ...
Building Windows Store...
CHESS – Find and Repro...
Direct3D 10
Doloto
Game Technologies: Aud...
Git, Mercurial and Dro...
LightSwitch HTML Clien...
MS-Build, Multi-Target...
Microsoft "Data Explor...
Office Live Small Busi...
Search Server: Federation
Search, Organize, and ...
Server Core Developers
SQL Server 2014 SQL To...
SQL Server 2014 Data Q...
SQL Server 2014 High A...
SQL Server 2014 Master...
Team Foundation Server...
Tools for Windows Phon...
Visual Basic Power Packs
Visual C# Express 2008...
Visual C# IDE
Visual Studio 2008 (Pr...
Visual Studio 2008 IDE...
Visual Studio Team Sys...
Windows Live Search: D...
Windows Presentation F...
Windows XP Wireless SDK
Building Windows Store...
Windows Phone push not...
Windows Phone Preview ...
Skype Web SDK
Microsoft R Open

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile