Hi Christopher,
You will need to use the Timeline Filters to get that using the tlrange
and tlattribute
.
https://main.manage.test.maximo.com/maximo/api/os/MAXAPISR?lean=1&oslc.select
=*&
tlrange=-5m&tlattribute=reportdate
The supported units are D - day, W - week, Y - year, M - month, h - hour, m - minutes, s - seconds.
You can find more details here:
https://www.ibm.com/support/pages/system/files/inline-files/Maximo_NextGen_REST_API_-_nextgen.pdf
Hope this can help you.
Cheers
------------------------------
Maycon Belfort
Consultant
BPD Zenith
Melbourne
Australia
------------------------------
Original Message:
Sent: Thu May 16, 2024 02:55 PM
From: Christopher Stewart
Subject: Syntax/query to get last 5 minutes of service requests via rest
I want to pull the last 5 minutes of service requests from the current time via rest. How is that done in a rest query?
https://main.manage.test.maximo.com/maximo/api/os/MAXAPISR?lean=1&oslc.select=*&oslc.where=
------------------------------
Christopher Stewart
------------------------------