NetIQ IDM 4.5.3, REST IDM Driver

I have now finally setup a REST connector with a third party REST
service. Query and Modify operations works just perfect, but strange the
add operations always ends with status "error", even though the
operaiton ends with 200 and sucess, here is the logs;


anyone smart can see whats the deal?



<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.5.3.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<driver-operation-data class-name="users" command="add" event-id="0"
method="post" src-dn="\TREE\MGMT\USERS\ACTIVE\jumbomumbo"
url="https://api.crapservice.com/api/v2/users">
<request>
<url-token/>
<header content-type="application/json"/>
<value>{
"email": "jumbomumbo@****.com",
"name": "Jumbo Mambo",
"department": "IT",
"title": "Error is my new title",
"password": "adjf!#AS_*********************"}</value>
</request>
</driver-operation-data>
</input>
</nds>
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: sub-execute
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: addHandler
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: addHandler:
class-name == 'users'
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: Add:
preparing POST to https://api.crapservice.com/api/v2/users
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: Setting the
following HTTP request properties:
Authorization: <content suppressed>
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector:
content-type:application/json
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: OAuth2: Token
is valid.
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: OAuth2: Token
is valid.
DirXML: [09/01/16 23:52:13.36]: TRACE: BugyRESTConnector: Did a HTTP
POST with 201 bytes of data to https://api.crapservice.com/api/v2/users
DIRXML: [09/01/16 23:52:14.00]: TRACE: BUGYRESTCONNECTOR: RESPONSE CODE
AND MESSAGE: 200 OK
DirXML: [09/01/16 23:52:14.00]: TRACE: Remote Loader:
SubscriptionShim.execute() returned:
DirXML: [09/01/16 23:52:14.00]: TRACE: <nds dtdversion="3.0">
<source>
<product build="20150722_0750" version="1.0.0.0">Identity Manager REST
Driver</product>
<contact>NetIQ Corporation.</contact>
</source>
<output>
<status event-id="0" *level="error"* type="driver-general">
<driver-operation-data class-name="users" command="add"
dest-dn="\TREE\MGMT\USERS\ACTIVE\jumbomumbo" event-id="0" method="post"
src-dn="\TREE\MGMT\USERS\ACTIVE\jumbomumbo"
url="https://api.crapservice.com/api/v2/users">
<response>
<url-token/>
<header content-type="application/json"/>
<value>{"id":"GUID","name":"****
Dude","chat":{"jabberId":"guid@****.com"},"departm ent":"IT","email":"jumbomumbo@****.com","primaryCo ntactInfo":[{"address":"jumbomumbo@****.com","mediaType":"EMAI L","type":"PRIMARY"}],"addresses":[],"state":"active","title":"error
is my new
title","username":"jumbomumbo@****.com","version": 2,"selfUri":"/api/v2/users/guid"}</value>
</response>
</driver-operation-data>
</status>
</output>
</nds>


Regards,
Maqsood.


--
maqsood
------------------------------------------------------------------------
maqsood's Profile: https://forums.netiq.com/member.php?userid=2617
View this thread: https://forums.netiq.com/showthread.php?t=56528