Generally speaking, you want to use the API as much as possible. There is a ton of functionality built around it to support concepts like pagination, limiting MBOs in memory, multiple data formats (XML, JSON, CSV, etc.), caching, and so many more concepts. Customers can define their own object structures to get data so if it's something that is not available out of the box, you can create it.
If your requirements are too unique to be able to use the existing framework, there are a lot of different ways you can do this. But a common one is people use the automation script handler like:
IBM Maximo Autoscripting Guide – Invoking script through Automation Script Handler
The example is an action but you can set the responseBody to return data back to the user.
------------------------------
Steven Shull
Naviam
------------------------------
Original Message:
Sent: 07-16-2025 01:55
From: Ethan Williams
Subject: Maximo's REST API uses oslc/os, how to define a method to return your own json data
Maximo's REST API uses oslc/os, how to define a method to return your own json data
#Administration
#Analytics
#Architecture
#Assets
#CivilInfrastructure
#Customizations
#EndUser
#EverythingMaximo
#HSE/OilandGas
#Infrastructure
#Integrations
#Inventory
#IoT
#LifeScience/Calibration
#Linear
#MaximoApplicationSuite
#MaximoForAviation
#MaximoUserGroups
#Mobility
#Nuclear
#Procurement
#Reporting
#Scheduling
#Security
#ServiceProvider
#Spatial
#Transportation
#Utilities
#WorkCenters
#WorkManagement
#MaximoVisualInspection
#Predict
#Monitor
#Health
#Assist
#Safety
------------------------------
Ethan Williams
secrecy
------------------------------