Modify users with REST driver

I am trying to understand how to use the REST driver functionalities. Have a case where I want to update current users in IDM with data from an API ednpoint. To do that I setup the Publish channel to recieve data from the API. 

I can recive the data from the API but the problem is that I´m not able to update users. This is more like a test for me to understand how to work with the driver. I tried to customize the contract from API as much as possible (so that I can use most of the standard behaviors of the driver) so it´s just hardcoded data which tries to update a telephonenumber. 

The problem I run in to is this:

This is the input:

This is the JSON data the gets recived from the API:

 

Any ideas how to push me in the right direction here?

Parents
  • 0  

    So you stood up a REST driver so you can use it as an endpoint to manage users?  Probably better to use the IDApps REST API since it is meant for that and hopefully better written.

    Having a remove-all-values after a add-value means it will clear the attribute in the IDV.  So why is the JSON being interpreted that way?  Can you show us the <driver-operation-data> incoming before it is converted to XML.

Reply
  • 0  

    So you stood up a REST driver so you can use it as an endpoint to manage users?  Probably better to use the IDApps REST API since it is meant for that and hopefully better written.

    Having a remove-all-values after a add-value means it will clear the attribute in the IDV.  So why is the JSON being interpreted that way?  Can you show us the <driver-operation-data> incoming before it is converted to XML.

Children