Search This Blog

Sunday, February 26, 2017

OSLC and REST in Maximo

How to make REST work in Maximo ?

Just check your system properties for rest level properties, your url should be correct.

Now navigate to the url mentioned below.

http://host:port/maxrest/rest/os/MXWO/1?_lid=wilson&_lpwd=wilson&status=APPR&_format=json

 

This will give the current list of work orders which are in approved format and with json format.

Integrate it with your web app , call ajax or http get from your app to get json response out of maximo.

 

OSLC is also configured in Maixmo, check for oslc urls in maximo system properties.

 

Now use postman client for chrome or use in browser itself.

 

Navigate to

 

http://host:port/maximo/oslc/os/MXWO?_lid=wilson&_lpwd=wilson?lean=1&oslc.select=spi:wonum&oslc.where=spi:status=%22APPR%22

This will give the list of all the workorders in approved state.

 

Read the below urls for more on JSON api for maximo.

 

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20Maximo%20Asset%20Management/page/Maximo%20JSON%20API

No comments:

Post a Comment