This article is a guide for users who want to import and replace model through Rest API

To import and replace the model using Rest API we need to go to the Rest API section in the UI and then go the Model and Application management section 

Under that you will see models tab and go to import and replace model edition

Copy the given URL and add it to your postman

The method of the URL should be Post

Add the header as shown below

Below is the URL for the reference


Here in the name it should be model name and it is case sensitive, so we need to write the exact name.

For key check in your xml file of the model, the  branch/version number need to be added in place of key(in my case it was 0.0)

At the end while uploading the required xml file in the postman it should be done in the Body tab under raw as shown below