REST API knowledge exchange
Post Reply
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

DayNumberInMonth

Post by SmithJohn »

There is a field called "DayNumberInMonth". Is it means the job must start in the First, Second, Third or Forth day in the month ?
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: DayNumberInMonth

Post by veremin »

As far as I’m concerned, this field represents the following GUI setting:

Image

Thanks.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: DayNumberInMonth

Post by SmithJohn »

Thansk for your help.
And one more question. May I know if there is API that can update the “Number of restore points to keep per-VM” job ?
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: DayNumberInMonth

Post by veremin »

As it's not possible to change these settings via Enterprise Manager, they can't be changed via API, since the latter just duplicates the EM functionality.

Thanks.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: DayNumberInMonth

Post by SmithJohn »

so as the description of the job could not be changed in the enterprise manager, so it could not be edit through API too ?
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: DayNumberInMonth

Post by veremin »

The situation with the description is a little bit different, as it can be changed using certain API calls. Thanks.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: DayNumberInMonth

Post by SmithJohn »

suppose to use the "put" method. But if there is a situation that the the description doesn't change after using the put method.What would be the reason behind?
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: DayNumberInMonth

Post by veremin »

As always, there would be a number of possible causes, varying from incorrect script syntax to the usage of wrong user role. However, even in case the issue occurs, the support team will be the most efficient way to address it.

Thanks.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: DayNumberInMonth

Post by SmithJohn »

We use the web-api to edit the schedule
when we edit the job and set <Time>18:00:00.0000000-24:00</Time>, but it returned “<Time>10:00:00.0000000-08:00</Time>
Is there any hidden format that programmer had t notice? Thanks.
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: DayNumberInMonth

Post by veremin »

Could you elaborate what schedule options you’re trying to set? Daily or Monthly ones? And also what exact time you want to pass to the job schedule? Thanks.
SmithJohn
Enthusiast
Posts: 47
Liked: never
Joined: Jan 31, 2013 3:36 am
Full Name: charles
Contact:

Re: DayNumberInMonth

Post by SmithJohn »

daily backup at 6:00pm
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: DayNumberInMonth

Post by veremin »

As far as I know, the time should be in the UTC format, so, I'm not sure what you're trying to achieve with "18 - 24" expression. Thanks.
Gostev
Chief Product Officer
Posts: 31798
Liked: 7297 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: DayNumberInMonth

Post by Gostev »

v.Eremin wrote:I'm not sure what you're trying to achieve with "18 - 24" expression. Thanks.
Going back in time, before data corruption has occurred :wink:
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests