cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
538
Views
0
Helpful
1
Replies

ISE ERS APIs & Administration Persona Role.

ITCOMMS
Level 1
Level 1

Hi,

 

I'm wondering if there is a way to determine administration persona role through an API call.

 

From a quick skim of the reference guide it seems you can do this for the monitoring persona role ( https://<ISEhost>/admin/API/mnt/Version ), but I can't see anything for administration persona role.

 

Cheers.

1 Reply 1

Arne Bier
VIP
VIP

Have you tried this one?

https://<nodename>:9060/ers/config/node/name/<instancename>accept=application/json&ERS-Media-Type=deploy.node.1.1&content-type=application/json

 

The bits in bold italic above are you site specific data items

 

We use it to determine which PAN is the current active one.  The highlighted JSON value below shows that this node is the Primary active.  Notice that this is ISE 2.4 and the values vary from previous ISE versions

 

{
    "Node": {
        "id": "aee5cb10-42d6-11e8-9914-0050568a2395",
        "name": "ise-2-4-01",
        "gateWay": "192.168.0.1",
        "displayName": "ise-2-4-01",
        "inDeployment": true,
        "otherPapFqdn": "",
        "ipAddresses": [
            "192.168.0.221"
        ],
        "ipAddress": "192.168.0.221",
        "nodeServiceTypes": "SESSION,PROFILER,DEVICE ADMIN",
        "primaryPapNode": true,
        "papNode": true,
        "pxGridNode": false,
        "link": {
            "rel": "self",
            "href": "https://ise01:9060/ers/config/node/name/ise-2-4-01",
            "type": "application/xml"
        }
    }
}