This may or may not work but overall it is a lot simpler than re-writing code that is already in place and HIGHLY functional. Perhaps the business does not want to to do this?
In my view a REST api using json is the simplest approach and the most flexible. Less needs to be done since the MXAPI object structures are already in place for Maximo Mobile, so you just need to take advantage of them and leverage them in your own coding project. Be careful of licensing restrictions touching and writing to Maximo. 5 app points per user.
Bradley K. Downing , MBA
Original Message:
Sent: Thu July 20, 2023 02:55 PM
From: Robert Matthews
Subject: Maximo Json Api Integration Step
Hi, I've just found this thread. I'm working on an integration design for contractor work reporting, but generically, my question revolves around how to make the comparative decision between soap / rest and xml / json, for example soap with xml or soap with json what does that require, rest with xml / json, with regard to what maximo configuration tasks may be required and what maximo capabilities may / not be available for a given combination.
It's bidirectional with a sample flow somewhat like, in my custom client create a new worksheet record and save to Maximo. As part of that creation, query for "my work" against an endpoint containing woactivity and related planned work attribution, find some line I've worked on, enter some qty of units worked, save to Maximo, requery to see current state of my worksheet. Ultimately send some indicator of "complete" to Maximo to initiate any reconciliation step then initiate approval and invoice generation processes.
So, if we start with creation of an object structure and let's say the client prefers json, then, if we do soap with json, then ? if we go to rest with json then?
I'm working in a 7.6.1.3 environment with T&D added.
I'm happy to read any materials someone may point me to, to ask a more informed question here, if that's required. Thx.
------------------------------
Robert Matthews
Original Message:
Sent: Fri December 09, 2022 09:01 AM
From: Steven Shull
Subject: Maximo Json Api Integration Step
We have some documentation on our JSON API here: https://community.ibm.com/community/user/asset-facilities/viewdocument/maximos-rest-api-aka-json-api-os?CommunityKey=ed77c224-45e2-47b0-b574-cc31496f9a41&tab=librarydocuments
The Maximo REST API Guide on that page is particularly useful.
Most customers integrating with Maximo today via webservices are utilizing the object structure directly (not configuring enterprise services). Some systems are fire and forget and require writing to the JMS in Maximo to handle when errors occur. In an ideal scenario, the sending system is intelligent enough to track these failures and handle reprocessing because there will be scenarios where Maximo is unavailable so you shouldn't depend on Maximo to always be able to manage the queue. If the sending system is fire and forget and can't queue these messages, you'll lose messages anytime Maximo is unavailable. To handle Maximo being available but the message failing (bad data), you can have the webservice write to JMS which will require an enterprise service. To the best of my knowledge, you can only do this with a SOAP web service (not our REST API) but we're adding stuff all the time to our REST API so it's possible I've missed it.
JSON Mapping is useful when you can't make the sending system send the message in a way that Maximo can consume. For example, we use this with our ESRI integrations to transform from ESRI JSON body into the format Maximo expects. There is an option to specify the endpoint, but most customers specify the object structure. You should be creating a distinct object structure for most integrations so that you can make changes to it as needed without impacting other integrations.
Are you looking for a bidirectional integration (IE system A sends to Maximo and Maximo sends back to system A)? If so, you will need to configure an endpoint back to the other system (typically using the HTTP handler) and most likely publish channels in Maximo to send the data from Maximo back to the original system. And again, assuming the other system can't process the Maximo message you can use JSON mapping to transform the message from the Maximo format to the format the other system needs. As part of the configuration, you define whether it's inbound or outbound to Maximo.
------------------------------
Steven Shull
Original Message:
Sent: Wed December 07, 2022 10:20 PM
From: Rani Purbasari
Subject: Maximo Json Api Integration Step
Hi,
I just start new project to integrate inventory usage using api. I've been read several article. In my understanding, in summary steps required to integrate using Json are:
1. set maximo system property mxe.int.keyresponse to 12. create Enterprise Service for Object Structure which will be use
3. anable Enterprise Service and External Systems
4. create end point for API setting
5. Create Json mapping (inbound/outbound) and linked the end point setting
Besides, I still have confusion on how to setting end point, which handler I should use?
I've been explore regarding maximo API integration, but still can't find clear article/source regarding integration using json api.
Please help me
------------------------------
Rani Purbasari
------------------------------
#AssetandFacilitiesManagement
#MaximoIntegrationandScripting
#Maximo