Anonymous_User Absent Member.
Absent Member.
735 views

NPUM json api


Has anyone tried to use NPUM json api? I have been trying to get it to
work but I keep getting error "JSON module not found" in unifid.log. I
followed the instructions provided in the documentation but no luck so
far. Does anyone have a working example?

Thanks.


--
shresthachyut
------------------------------------------------------------------------
shresthachyut's Profile: https://forums.netiq.com/member.php?userid=9977
View this thread: https://forums.netiq.com/showthread.php?t=53817

0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: NPUM json api

shresthachyut,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.netiq.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.netiq.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.netiq.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your NetIQ Forums Team
http://forums.netiq.com


0 Likes
wieye Absent Member.
Absent Member.

Re: NPUM json api

Hi,
Here is a Sample:
PRUEBA 1.

{
"method" : "callModule", "params" : {
"pkt" : {
"module" : "cmdctrl",
"method" : "modEntries",
"remote_host":"10.119.237.147",
"local_port":29120,
"UserGroup":{
"action":"set",
"key":4,
"name":"IDMOYMP_ADMIN",
"type":0,
"Disabled":{"value":false},
"RunUsers":{"value":true},
"SubmitUsers":{"value":true},
"Description":{},
"MgrAccount":{},
"MgrName":{},
"MgrTel":{},
"MgrEmail":{},
"External":{"value":false},
"UserList":{
"User":
{
"value":"pbaidm03"
},
"UserGroup":[{} ]
}
},
"uid":"eJzj8ExJzSvJLKlkyOd0LC3JCMnPTs1jKGbJS8xNZU1Myc3My+TIzEtMLsksS+3j8GQrKS5JzC1oPbhylmwxd1Fqbn5JanxGfnEJr6GBnqGFhZ6RkamehUkxZ0FqahFYgj2zJKMgMdcwkSUoPycVaHIRkGLUYkDhQ2xiALohODM9L7GktCiVoYq5ODO9kaFrdeWeOc5f1LY\/jZ1s25NmknfbM9qqNP5drWJVdM1dn7Ozuqfof5qwTcPmUlBR9N637Ac7dNTedh6zWr\/qxgt93qKlHds9E7JuVune13p4X6s+xuB00YaQZSLXVKrF0jeVzbb1dBWQN7ap9zNzjBUqrP7gIO\/fprb\/aEq514tPTCcj3xgfrmLKTBGRu1s3vdBzw7YnKy2q3z2LsgtRWAB0LQB+bn3u"
}}}

This sample modifify a userlist, you have to be care with the "key", each user group has its own key, yo can retrive the uid and key with getentries method.
Regards,
Angel Soto
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.