Hi
I don't have ldap synch (and it's not desired either) and am trying to programmatically Import users from CUCM, just like you would using the Import functionality in the CUCN Administration Interface.
If I call GET /vmrest/import/users/cucmbe?limit=5 I get a Response telling me there's one user, but no user data:
{\"@total\":\"1\"}"{\"@total\":\"1\"}"
I then tried to be smart and simply sent
POST https://chdevcucn91.nxodev.intra/vmrest/import/users/cucmbe?templateAlias=voicemailusertemplate HTTP/1.1
Accept: application/json
Content-Type: application/json; charset=utf-8
Host: chdevcucn91.nxodev.intra
Cookie: JSESSIONID=0EE4C91BAB7D314759064BE56513DA4E; JSESSIONIDSSO=1D1771287CC43150AA31E68CF93047AF
Content-Length: 135
Expect: 100-continue
{"alias":"testuser","firstName":"firstname","lastName":"test 9","dtmfAccessId":"415099","pkid":"0500397d-8e79-a3ab-2f8f-2e02430878e9"}
Assuming that the pkid is the pkid of the enduser in the CUCM database (it seems to be if I'm looking at CUCM imported users have the ccmid in the tbl_user equal to the enduser pkid), however, that only returns
HTTP/1.1 404 Not Found
X-Frame-Options: SAMEORIGIN
Content-Type: application/json
Date: Mon, 23 Jun 2014 16:17:03 GMT
Server:
Content-Length: 135
{"errors":{"code":"NOT_FOUND","message":"no importable user found with the specified object ID: 0500397d-8e79-a3ab-2f8f-2e02430878e9"}}
Now I'm wondering.. given that there's no documentation on this.. am I trying to do something that API simply cannot do or am I doing something wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Stephan,
Found a bug related to this issue - CSCui79909 Also request you to refer this url -
https://communities.cisco.com/docs/DOC-48406
for related information
Thanks and Regards,
Geevarghese
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hmm... the solution is only mentioned for 9.1(1) - do you have any idea if a fix for 9.1(2) is in the works? Just to make sure I upgraded my lab Server to the latest 9.1(2) release but the machine still behaves the same way as before.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.