GET api/Security/OpenSessions?businessUnitId={businessUnitId}&ahsOnly={ahsOnly}&nonAHSOnly={nonAHSOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
businessUnitId

integer

Required

ahsOnly

boolean

Required

nonAHSOnly

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SessionDetails
NameDescriptionTypeAdditional 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": "2022-08-13T21:36:46.783+00:00",
    "EndedDate": "2022-08-13T21:36:46.783+00:00",
    "CreatedByUser": "sample string 7",
    "CreatedByUsername": "sample string 8",
    "BusinessUnit": "sample string 9",
    "BusinessUnitId": 10,
    "IsAHS": true
  },
  {
    "$ref": "1"
  }
]