Bulk Update via API

0

Hi,

I'm running an API request to bulk update some of my schedules (jobs) and I'm referencing the following job IDs:

/jasperserver/rest_v2/jobs?id=1655&id=1656

I'm passing the following JSON in my request:

{
    "alert": {
        "toAddresses": {
                "address": ["UpdateMe@mail.com"]
                
            }
    }
}

 And that works fine - it updates the To address on the 'Send job status notifications' section of my 2 schedules.

What I want to do is update the To address on the 'Send report when scheduler runs' section of my schedules (i.e. the recipient of the report). So I'm using this:

{
    "mailNotification": {
        "toAddresses": {
                "address": ["UpdateMe@mail.com"]
                
            }
    }
}

I'm getting a 200 OK but the email address isn't being updated when I look at the schedules on the UI.

Any suggestions would be much appreciated!

Thanks,

Tommy

tommy.curnyn's picture
Joined: Apr 23 2015 - 3:28am
Last seen: 3 weeks 4 days ago

Anyone?

tommy.curnyn - 3 weeks 4 days ago

0 Answers:

No answers yet
Feedback