Search This Blog

Monday, April 10, 2017

IBM Maximo OSLC, update an existing record via HTTP POST

In case you want to update your OSLC resource from a mobile client, this article will be help full for you.

 

Open the postman client and enter the URL for your Maximo server and append _lid &_lpwd to your URL.

 

I will be using the Maximo preview site for demonstration purpose.

 

image

 

Now add the headers which will merge with the existing asset record, make sure you know the assetid of the asset you are going to update.

 

You can make a separate GET request to know the assetID of the asset before firing this POST request.

My AssetID =1 in current example.

Now add the following headers.

image

And keep the payload as

image

 

 

Now click on send and open another browser window to test the new description of the asset.

 

 

image

 

 

Ref. IBM OSLC knowledge Center

 

Keep Reading !

1 comment:

  1. Hi! I've got a 204 No Content reply from the server. Could you please add also the GET to extract the assetid?

    ReplyDelete