Hello Experts,
We are using a customized UI for SAP IDM 7.2 and we are using REst API V2. We have an approval workflow for creating new identities.
Currently how we are creating the new identities is described below.
When the new identity page is loaded , then the user who is submitting request to create new identity mskey is considered and his mx_person related attributes and values are retrieved and stored in a old data model and the new user values will be stored in another data model.
When request is submitted, the new data model values would be replacing with the old data model values using updateRestData method in which we are calling psot method again.
updateRESTData = function(task, MsKey, sendData, fnSucces, fnError) { var that = this;
that.oDataModel.oHeaders["Cache-Control"] = "no-store,no-cache";
that.oDataModel.oHeaders["Content-Type"] = "application/json"; that.oDataModel.oHeaders["X-HTTP-Method"] = "MERGE";
this.postRESTData(task, MsKey, sendData, fnSucces, fnError); }; |
I heard that REST API v2 doesn't allow to create new entries. Can you kindly please help me is there any other way to create new identities using PUT
instead of update.
Regards,
DP