Question

REST API - GET Job - with job filter

  • 7 March 2024
  • 7 replies
  • 59 views

Badge +1

HI
I working with rest api 

I have a process for checking daily backups
The process works fine!


I need help running a backup check  between  date
Feb 01, 2024 12:00 AM and Feb 29, 2024 11:59 PM

This is for example part of a URL that I access to get a daily report
urlrest = "/webconsole/api/Job?jobFilter=Backup&jobCategory=all&completedJobLookupTime=86400&limit=500"; // 24 hours

Any help will be appreciated


7 replies

Userlevel 3
Badge +8

Hi Bezzar,

It may be easiest to start with the Backup Job Summary Report. Customize the criteria as needed, and then scroll down to the Job Details table, click the gear, and choose REST API:

It should be relatively easy to customize the URI provided to pick dates and times dynamically. If this doesn't meet your needs, please elaborate on what you’re ultimately trying to accomplish and I’ll see what else I can come up with.

Badge +1

HI Cari

Thank you that you help me
but I cannot see REST API on this option - very strange 

 

Userlevel 3
Badge +8

I believe that option was added in 11.18. Are you on something older?

Badge +1

HI
I have metallic SAAS
https://m103.metallic.io/

Userlevel 3
Badge +8

Hi Bezzar,

I spoke with someone from SaaS Support and they believe you should see this option. Can you open a support case with them to determine why you don’t?

Badge +1

HI

Thank you  Cari !
I opend a support case on March 4 to my specific request ...So far no one knows how to help me

Userlevel 3
Badge +8

What is your case number?

Reply