GET api/Security/OpenSessions?businessUnitId={businessUnitId}&ahsOnly={ahsOnly}&nonAHSOnly={nonAHSOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
businessUnitId | integer |
Required |
|
ahsOnly | boolean |
Required |
|
nonAHSOnly | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SessionDetailsName | Description | Type | Additional information |
---|---|---|---|
SessionId | integer |
None. |
|
Version | string |
None. |
|
MachineName | string |
None. |
|
OS | string |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
EndedDate | date |
None. |
|
CreatedByUser | string |
None. |
|
CreatedByUsername | string |
None. |
|
BusinessUnit | string |
None. |
|
BusinessUnitId | integer |
None. |
|
IsAHS | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "$type": "AHS.Models.SessionDetails, AHS.Core", "SessionId": 1, "Version": "sample string 2", "MachineName": "sample string 3", "OS": "sample string 4", "CreatedBy": 5, "CreatedDate": "2024-11-21T09:38:54.522+00:00", "EndedDate": "2024-11-21T09:38:54.522+00:00", "CreatedByUser": "sample string 7", "CreatedByUsername": "sample string 8", "BusinessUnit": "sample string 9", "BusinessUnitId": 10, "IsAHS": true }, { "$ref": "1" } ]