IBM Maximo: REST API working with system properties

From Wiki

Getting and setting system properties in Maximo using REST apis

Important: starting on MAS 8, default context change from /maximo/oslc/ to /maximo/api/

Get system properties

GET /maximo/api/service/system?action=wsmethod:getProperty&propName=<property name>
GET /maximo/api/service/system?action=wsmethod:getProperties&propNames=mxe.oslc.webappurl,mxe.apikeyforloggedinuser

Set system properties

POST /maximo/api/service/system?action=wsmethod:setProperty

{
    "propName":"mxe.oslc.webappurl",
    "serverName":"COMMON",
    "propValue":"http://locahost:9080/maximo/oslc"
}

Ver também