GET api/Security/WebSessions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WebSession
NameDescriptionTypeAdditional information
WebSessionId

integer

None.

IpAddress

string

None.

Browser

string

None.

Version

string

None.

CreatedBy

integer

None.

CreatedDate

date

None.

AspNetUserId

integer

None.

CreatedByUser

User

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "$type": "AHS.Server.Entities.WebSession, AHS.Server",
    "WebSessionId": 1,
    "IpAddress": "sample string 2",
    "Browser": "sample string 3",
    "Version": "sample string 4",
    "CreatedBy": 5,
    "CreatedDate": "2024-11-21T09:43:17.398+00:00",
    "AspNetUserId": 1,
    "CreatedByUser": {
      "$id": "2",
      "$type": "AHS.Server.Entities.User, AHS.Server",
      "UserId": 1,
      "Username": "sample string 2",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "Email": "sample string 5",
      "IsActive": true,
      "IsSystem": true,
      "IsADBased": true,
      "BusinessUnitId": 9,
      "PermissionIds": [
        1,
        2
      ],
      "FullName": "sample string 3 sample string 4",
      "BusinessUnit": {
        "$id": "3",
        "$type": "AHS.Server.Entities.BusinessUnit, AHS.Server",
        "BusinessUnitId": 1,
        "Description": "sample string 2",
        "IsAHS": true
      }
    }
  },
  {
    "$ref": "1"
  }
]