Maintain control of your Microsoft 365 data
Post Reply
mjr.epicfail
Veeam Legend
Posts: 630
Liked: 177 times
Joined: Apr 22, 2022 12:14 pm
Full Name: Danny de Heer
Contact:

Possible bug in API

Post by mjr.epicfail »

if I edit a job via PUT v8/Jobs/[JobID] and set a schedulePolicy.backupWindowSettings without using an offset, the GUI and the following get of the jobs shows me a skew of 4 hours.

For example, If I set the first boolean on false (1 of 168) the GUI shows me 4:00 - 4:59.
When I do a get v8/jobs/[jobID] im return the fifth boolean as false without an offset.

Can you try to reproduce this?

Also, im in a UTC+2 timezone, but that shouldn't matter if everything is in UTC.
the Dailytime is set as 01:00 and in the gui this is shown as 03:00 which is correct


PUT

Code: Select all

  "schedulePolicy": {
    "scheduleEnabled": true,
    "backupWindowEnabled": true,
    "type": "Daily",
    "dailyType": "Everyday",
    "dailyTime": "01:00",
    "retryEnabled": true,
    "retryNumber": 2,
    "retryWaitInterval": 9,
    "backupWindowSettings": {
      "backupWindow": [
        false,
        true,
        true,
GET

Code: Select all

  "description": "testdesc",
  "backupType": "SelectedItems",
  "schedulePolicy": {
    "scheduleEnabled": true,
    "backupWindowEnabled": true,
    "backupWindowSettings": {
      "backupWindow": [
        true,
        true,
        true,
        true,
        false,
VMCE / Veeam Legend 2*
Post Reply

Who is online

Users browsing this forum: No registered users and 63 guests