This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to call the Rest API dra/assistantadmins/get

We are using DRA 10.2 and trying to get the list of AssiatantAdmins in our setup via the API endpoint dra/assistantadmins/get. We use the REST API endpoints for various custom reports.  Calling this API returns with success and HTTP 200 but the object count is always 0. Is there an example available of how to call this API? perhaps I need something in the payload (some query options etc.) ?

Note: I have full access as a member of the DRA Admins group. 

Tags:

Parents
  • Verified Answer

    +1  

    Below url and payload is working fine.

    https://<DRAServerName>:8755/dra/assistantadmins/get

    {"assistantAdminAndFilter":{"hidden":"0","type":"AssistantAdmin"},"assistantAdminOrFilter":[{"nameValue":"*"}],"attributes":["description","isAssigned","objectClass","name","path","sysType"],"enumerationOptions":{"includeChildContainers":true,"isSecurityEnum":true,"objectsPerResponse":1000}
    }

    Please try it out and let us know. 

  • 0 in reply to   

    Thanks so much. That worked! Is it documented how to call these APIs anywhere? There seems to be some info here [IDRARestServer.AssistantAdminEnum Method (microfocus.com)]  but I couldn't piece together the exact payload to send. Where did you come up with:

    "assistantAdminAndFilter":{
    "hidden":"0",
    "type":"AssistantAdmin"
    },
    "assistantAdminOrFilter":[
    {"nameValue":"*"}
    ],

    ??

Reply Children