AgileApps Support Wiki Pre Release

REST API:getActiveSessions

From AgileApps Support Wiki

Retrieve all active sessions of a user

Method
GET
URI
https://{yourDomain}/networking/rest/httpSessionManagement/active
Response
{
    "platform": {
        "message": {
            "code": "0",
            "description": "Success"
        },
        "recordCount": "2",
        "session": [
            {
                "customerId": "14******67",
                "dateCreated": "2023-11-14T08:51:00.000Z",
                "id": "ce37f52efb**********6c2cb23f76a4",
                "ipAddress": "0:0:0:0:0:0:0:1",
                "serverName": "3fd63a16**********459328e40b12a9",
                "sessionDetails": "PostmanRuntime/7.35.0",
                "sessionId": "A4B1CAFC**********6BAB7FF83EA855",
                "sessionType": "0",
                "status": "0",
                "statusDate": "2024-12-14T08:51:00.000Z",
                "userId": "573a0b840**********c72624bc821c5",
                "userName": "device 002"
            },
            {
                "customerId": "14******67",
                "dateCreated": "2023-11-14T08:52:00.000Z",
                "id": "75f2e91e60**********78c44374d279",
                "ipAddress": "127.0.0.1",
                "serverName": "3fd63a16**********59328e40b12a9",
                "sessionDetails": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0",
                "sessionId": "89547243**********C84BD415C30313",
                "sessionType": "0",
                "status": "0",
                "statusDate": "2024-12-14T08:52:00.000Z",
                "userId": "573a0b840**********c72624bc821c5",
                "userName": "admin 002"
            }
        ]
    }
}