Skip to main contentIBM Maximo REST API Guide

Overview

The new REST APIs for IBM(R) Maximo(R) Asset Management are a rewrite of the existing REST APIs that were released after Maximo Asset Management version 7.1, and are integrated in Maximo Asset Management releases starting with version 7.6.0.2. The new REST APIs are sometimes referred to as the REST/JSON APIs because of the end-to-end support for JSON data format. The benefits of using the new REST APIs include:

  • Significantly enhanced support for querying Maximo data - subselects, related object queries, multi-attribute text search, custom queries (java/scripting).
  • Support for system level actions - bookmarking, notifications, e-sig, image association and so on.
  • Tight integration to automation scripts - query, actions, custom APIs.
  • Enhanced REST support for Maximo Integration Framework (MIF) standard services - support JSON data type for those service methods.
  • Metadata support using JSON schema.
  • Supports dynamic query views.
  • Support for group by queries.
  • Supports custom JSON elements that are appended to the object structure JSON.
  • Integration with the Maximo Asset Management cache framework.
  • Integration with Maximo Asset Management formulas.
  • Integration with federated Maximo business objects (MBOs).
  • Support for API Keys.

The new REST APIs uses the same code base as the OSLC REST APIs, which are used by the IBM Maximo Anywhere platform. The new REST APIs are simpler to set up because you don’t need to set up OSLC resources and sheds the namespaced JSON that the OSLC APIs require. Effectively, the new REST APIs are ready to be used when a Maximo package that is not customized is installed and setup with users and groups.

A high-level overview of the architecture is illustrated in the following figure:

Architecture

The REST API call flows through the authentication phase, API routes, authorization, and then it interacts the with the Maximo artifacts, such as MBO’s, Workflows, and automation scripts. API routes are RESTlets (REST handlers) that provide the APIs for interfacing with various Maximo artifacts, such as MBOs, Automation scripts, Images, Permissions, and Schemas. This is more for the developers of the API to organically expand the footprint of the REST APIs to cover more parts of Maximo Asset Management.

Note: Try out the APIs as you read through this document. You can install the JSON viewer plug-in for Firefox or Chrome to easily view the JSON documents from the API response. You can also use a tool, such as Chrome Postman, to make the POST calls with the API.

This document also assumes that you use the lean JSON format (JSON with no namespace) by setting the lean=1 query parameter at login. Note: It is recommended to set the lean=1 query parameter for all requests so that the request can move to another server as part of load balancing or if the original server fails over to a new server. For brevity this query parameter is omitted in most of the examples, but it is recommended that you add that while making the requests.

This document also assumes familiarity with Maximo object structures, which form the resources for the REST APIs. For more information about the new REST APIs, you can view the REST API: Getting started video.